Alexey Velikiy
3 years ago
4 changed files with 11 additions and 3 deletions
@ -0,0 +1 @@
|
||||
VUE_APP_API_URL="http://localhost:8000/api/" |
@ -0,0 +1,5 @@
|
||||
export const API_URL = process.env.VUE_APP_API_URL |
||||
|
||||
if(API_URL === undefined) { |
||||
throw new Error("API_URL is undefined!"); |
||||
} |
Loading…
Reference in new issue