1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-13 13:04:03 +00:00

removed api override

This commit is contained in:
Sense101 2021-06-25 00:19:44 +01:00
parent e9b072746b
commit d339e18767

View File

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