1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

adding comments

This commit is contained in:
muerwre 2019-08-26 15:37:11 +07:00
parent c541278686
commit 76a3331719
14 changed files with 148 additions and 26 deletions

View file

@ -1,3 +1,5 @@
import { INode } from '~/redux/types';
export const API = {
BASE: process.env.API_HOST,
USER: {
@ -9,5 +11,7 @@ export const API = {
SAVE: '/node/',
GET: '/node/',
GET_NODE: (id: number | string) => `/node/${id}`,
COMMENT: (id: INode['id']) => `/node/${id}/comment`,
},
};