mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
refactored to match backend
This commit is contained in:
parent
33a55c852d
commit
6b6c7f5dd2
4 changed files with 8 additions and 10 deletions
|
@ -17,7 +17,7 @@ export const API = {
|
|||
NODE: {
|
||||
SAVE: '/node/',
|
||||
GET: '/node/',
|
||||
GET_DIFF: '/nodes/diff',
|
||||
GET_DIFF: '/flow/diff',
|
||||
GET_NODE: (id: number | string) => `/node/${id}`,
|
||||
|
||||
COMMENT: (id: INode['id']) => `/node/${id}/comment`,
|
||||
|
@ -34,9 +34,9 @@ export const API = {
|
|||
NODES: '/search/nodes',
|
||||
},
|
||||
EMBED: {
|
||||
YOUTUBE: '/embed/youtube',
|
||||
YOUTUBE: '/meta/youtube',
|
||||
},
|
||||
BORIS: {
|
||||
GET_BACKEND_STATS: '/stats',
|
||||
GET_BACKEND_STATS: '/stats/',
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue