diff --git a/src/components/Api/Api.tsx b/src/components/Api/Api.tsx index eaa4b18..44f6e7d 100644 --- a/src/components/Api/Api.tsx +++ b/src/components/Api/Api.tsx @@ -16,6 +16,13 @@ if (__DEV__) { backendURLWebsocket = "ws://10.0.10.8:8000"; } +// Switch this on if you wanna run production URLs while in development +let use_production = false; +if (use_production) { + backendURL = "https://stude.keannu1.duckdns.org"; + backendURLWebsocket = "ws://stude.keannu1.duckdns.org"; +} + const instance = axios.create({ baseURL: backendURL, timeout: 1000,