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:
parent
e9b072746b
commit
d339e18767
@ -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";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user