1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00
This commit is contained in:
Sense101 2021-06-25 11:45:02 +01:00
parent ad50bd64f7
commit 25db6e69ea

View File

@ -24,12 +24,12 @@ export class ClientAPI {
} }
getEndpoint() { getEndpoint() {
if (G_IS_DEV) { //if (G_IS_DEV) {
return "http://localhost:15001"; // return "http://localhost:15001";
} //}
if (window.location.host === "beta.shapez.io") { //if (window.location.host === "beta.shapez.io") {
return "https://api-staging.shapez.io"; // return "https://api-staging.shapez.io";
} //}
return "https://api.shapez.io"; return "https://api.shapez.io";
} }