mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-07 00:34:41 +00:00
23 lines
660 B
JavaScript
23 lines
660 B
JavaScript
export const API_URL = "/api";
|
|
|
|
export const endpoints = {
|
|
index: {
|
|
last: `${API_URL}/index/last`,
|
|
ongoing: `${API_URL}/index/ongoing`,
|
|
announce: `${API_URL}/index/announce`,
|
|
finished: `${API_URL}/index/finished`,
|
|
},
|
|
search: `${API_URL}/search`,
|
|
user: {
|
|
profile: `${API_URL}/profile`,
|
|
auth: `${API_URL}/auth`,
|
|
history: `${API_URL}/favorites/history`,
|
|
bookmarks: {
|
|
watching: `${API_URL}/favorites/watching`,
|
|
planned: `${API_URL}/favorites/planned`,
|
|
watched: `${API_URL}/favorites/watched`,
|
|
delayed: `${API_URL}/favorites/delayed`,
|
|
abandoned: `${API_URL}/favorites/abandoned`,
|
|
},
|
|
},
|
|
};
|