mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Change map provider api to selfhosted one
This commit is contained in:
parent
040ffb622c
commit
15b14a32e8
1 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ if (__DEV__) {
|
|||
}
|
||||
|
||||
// Switch this on if you wanna run production URLs while in development
|
||||
let use_production = false;
|
||||
let use_production = true;
|
||||
if (__DEV__ && use_production) {
|
||||
backendURL = "https://stude.keannu1.duckdns.org";
|
||||
backendURLWebsocket = "ws://stude.keannu1.duckdns.org";
|
||||
|
@ -32,7 +32,7 @@ console.log("Using backend API:", backendURL);
|
|||
|
||||
// 3rd Party APIs
|
||||
export const urlProvider =
|
||||
"https://tile.thunderforest.com/atlas/{z}/{x}/{y}.png?apikey=0f5cb5930d7642a8a921daea650754d9";
|
||||
"https://openstreetmap.keannu1.duckdns.org/tile/{z}/{x}/{y}.png?";
|
||||
// App APIs
|
||||
|
||||
// Error Handling
|
||||
|
|
Loading…
Reference in a new issue