mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-29 09:29:41 +05:00
refactor: change API proxy from Serverless Functions to Serverless Middlewares to save Function Invocations on vercel
This commit is contained in:
parent
11343eb7f8
commit
ad1c56f593
9 changed files with 81 additions and 60 deletions
|
@ -1,7 +1,7 @@
|
|||
export const CURRENT_APP_VERSION = "3.1.1";
|
||||
|
||||
export const API_URL = "https://api.anixart.tv";
|
||||
export const API_PREFIX = "/api";
|
||||
export const API_PREFIX = "/api/proxy";
|
||||
export const USER_AGENT =
|
||||
"AnixartApp/8.2.1-23121216 (Android 9; SDK 28; arm64-v8a; samsung SM-G975N; en)";
|
||||
|
||||
|
@ -25,7 +25,6 @@ export const ENDPOINTS = {
|
|||
},
|
||||
collection: {
|
||||
base: `${API_PREFIX}/collection`,
|
||||
list: `${API_PREFIX}/collection/list`,
|
||||
addRelease: `${API_PREFIX}/collectionMy/release/add`,
|
||||
create: `${API_PREFIX}/collectionMy/create`,
|
||||
delete: `${API_PREFIX}/collectionMy/delete`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue