mirror of
https://github.com/Radiquum/AniX.git
synced 2025-09-05 05:55:36 +05:00
feat: add support for custom API url
This commit is contained in:
parent
2f928579f9
commit
ba73fc3308
4 changed files with 20 additions and 13 deletions
|
@ -1,7 +1,9 @@
|
|||
export const CURRENT_APP_VERSION = "3.7.0";
|
||||
import { env } from "next-runtime-env";
|
||||
|
||||
const NEXT_PUBLIC_API_URL = env("NEXT_PUBLIC_API_URL") || null;
|
||||
export const API_URL = "https://api.anixart.app";
|
||||
export const API_PREFIX = "/api/proxy";
|
||||
export const API_PREFIX = NEXT_PUBLIC_API_URL || "/api/proxy";
|
||||
export const USER_AGENT =
|
||||
"AnixartApp/9.0 BETA 5-25062213 (Android 9; SDK 28; arm64-v8a; samsung SM-G975N; en)";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue