mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-10 07:25:35 +00:00
feat: disable link to home page when user has 0 category
This commit is contained in:
@@ -13,16 +13,8 @@ const PATHS = {
|
||||
REMOVE: "/link/remove",
|
||||
},
|
||||
API: {
|
||||
CATEGORY: {
|
||||
CREATE: "/api/category/create",
|
||||
EDIT: "/api/category/edit",
|
||||
REMOVE: "/api/category/remove",
|
||||
},
|
||||
LINK: {
|
||||
CREATE: "/api/link/create",
|
||||
EDIT: "/api/link/edit",
|
||||
REMOVE: "/api/link/remove",
|
||||
},
|
||||
CATEGORY: "/api/category",
|
||||
LINK: "/api/link",
|
||||
},
|
||||
NOT_FOUND: "/404",
|
||||
SERVER_ERROR: "/505",
|
||||
|
||||
Reference in New Issue
Block a user