Homepage improvements

This commit is contained in:
Keannu Christian Bernasol 2023-07-26 10:03:25 +08:00
parent 22707b8372
commit b43577870b
3 changed files with 38 additions and 16 deletions

View file

@ -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