mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-05-17 03:48:06 +08:00
Homepage improvements
This commit is contained in:
parent
22707b8372
commit
b43577870b
3 changed files with 38 additions and 16 deletions
|
@ -12,7 +12,7 @@ import {
|
|||
export let backendURL = "";
|
||||
export let backendURLWebsocket = "";
|
||||
let use_production = true;
|
||||
if (__DEV__ || !use_production) {
|
||||
if (__DEV__ && !use_production) {
|
||||
backendURL = "http://10.0.10.8:8000";
|
||||
backendURLWebsocket = "ws://10.0.10.8:8000";
|
||||
} else {
|
||||
|
@ -25,6 +25,8 @@ const instance = axios.create({
|
|||
timeout: 1000,
|
||||
});
|
||||
|
||||
console.log(backendURL);
|
||||
|
||||
// App APIs
|
||||
|
||||
// Token Handling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue