From 14ae01b6d1acc7cb966ed7bee23acdd565d3cadc Mon Sep 17 00:00:00 2001 From: marzban-dev Date: Thu, 30 Jan 2025 03:03:14 +0330 Subject: [PATCH] Add blog endpoints --- frontend/constants/index.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/constants/index.ts b/frontend/constants/index.ts index bfad022..4e9cdab 100644 --- a/frontend/constants/index.ts +++ b/frontend/constants/index.ts @@ -1,5 +1,9 @@ export const API_ENDPOINTS = { - home : "/home", + home: "/home", + blog: { + articles: "/blogs/all", + article: "/blogs" + }, account: { profile: "/accounts/profile", send_otp: "/accounts/send_otp" @@ -26,6 +30,8 @@ export const API_ENDPOINTS = { }; export const QUERY_KEYS = { + articles: "articles", + article: "article", comments: "comments", home: "home", chat: "chat",