1
0
Fork 0
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:
Fedor Katurov 2020-07-12 15:39:09 +07:00
parent 33a55c852d
commit 6b6c7f5dd2
4 changed files with 8 additions and 10 deletions

View file

@ -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/',
},
};