mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
added initial profile dialog
This commit is contained in:
parent
f6baedc4cd
commit
618c2e3275
28 changed files with 315 additions and 58 deletions
|
@ -5,8 +5,9 @@ export const API = {
|
|||
USER: {
|
||||
LOGIN: '/auth/login',
|
||||
VKONTAKTE_LOGIN: `${process.env.API_HOST}/auth/vkontakte`,
|
||||
ME: '/auth/', //
|
||||
ME: '/auth/',
|
||||
UPLOAD: (target, type) => `/upload/${target}/${type}`,
|
||||
PROFILE: (username: string) => `/user/${username}`,
|
||||
},
|
||||
NODE: {
|
||||
SAVE: '/node/',
|
||||
|
|
|
@ -13,6 +13,7 @@ export const URLS = {
|
|||
BACKEND_DOWN: '/oopsie',
|
||||
},
|
||||
NODE_URL: (id: number | string) => `/post${id}`,
|
||||
PROFILE: (username: string) => `/~${username}`,
|
||||
};
|
||||
|
||||
export const PRESETS = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue