mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-02 19:09:41 +05:00
feat(deployment): allow deploy to vercel
This commit is contained in:
parent
f4e340b21d
commit
f3a15eb956
3 changed files with 23 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
export let API_URL = "/api/v1";
|
||||
|
||||
if (process.env.API_URL) {
|
||||
API_URL = process.env.API_URL;
|
||||
}
|
||||
|
||||
export const endpoints = {
|
||||
index: {
|
||||
last: `${API_URL}/index/last`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue