mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-30 18:09:40 +05:00
New Home page, New UI, Proxy api requests through next.js api routes
This commit is contained in:
parent
49b9ac069f
commit
a30ddcfc6a
20 changed files with 5385 additions and 0 deletions
27
app/api/config.js
Normal file
27
app/api/config.js
Normal file
|
@ -0,0 +1,27 @@
|
|||
export const API_URL = "https://api.anixart.tv";
|
||||
export const USER_AGENT =
|
||||
"AnixartApp/8.2.1-23121216 (Android 11; SDK 30; arm64-v8a;)";
|
||||
|
||||
export const ENDPOINTS = {
|
||||
release: {
|
||||
info: `${API_URL}/release`,
|
||||
episode: `${API_URL}/episode`,
|
||||
},
|
||||
profile: `${API_URL}/profile`,
|
||||
filter: `${API_URL}/filter`,
|
||||
auth: `${API_URL}/auth/signIn`,
|
||||
user: {
|
||||
history: `${API_URL}/history`,
|
||||
watching: `${API_URL}/profile/list/all/1`,
|
||||
planned: `${API_URL}/profile/list/all/2`,
|
||||
watched: `${API_URL}/profile/list/all/3`,
|
||||
delayed: `${API_URL}/profile/list/all/4`,
|
||||
abandoned: `${API_URL}/profile/list/all/5`,
|
||||
favorite: `${API_URL}/favorite`,
|
||||
},
|
||||
search: `${API_URL}/search/releases`,
|
||||
statistic: {
|
||||
addHistory: `${API_URL}/history/add`,
|
||||
markWatched: `${API_URL}/episode/watch`,
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue