mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
actually getting event about adding account
This commit is contained in:
parent
5396cf7611
commit
e94d776ee5
12 changed files with 252 additions and 136 deletions
|
@ -1,9 +1,12 @@
|
|||
import { INode, IComment } from '~/redux/types';
|
||||
import { ISocialProvider } from '~/redux/auth/types';
|
||||
|
||||
export const API = {
|
||||
BASE: process.env.API_HOST,
|
||||
USER: {
|
||||
LOGIN: '/user/login',
|
||||
OAUTH_WINDOW: (provider: ISocialProvider) =>
|
||||
`${process.env.API_HOST}oauth/${provider}/redirect`,
|
||||
VKONTAKTE_LOGIN: `${process.env.API_HOST}/oauth/vkontakte/redirect/login`,
|
||||
ME: '/user/',
|
||||
PROFILE: (username: string) => `/user/user/${username}/profile`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue