mirror of
https://github.com/Radiquum/AniX.git
synced 2025-05-03 03:19:41 +05:00
fix(frontend): fix API_URL environment variable being undefined
This commit is contained in:
parent
3c850ccda8
commit
c73e84078a
3 changed files with 13 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
export let API_URL = "/api/v1";
|
||||
let API_URL = "/api/v1";
|
||||
|
||||
if (process.env.API_URL) {
|
||||
API_URL = process.env.API_URL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue