mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
kept api
This commit is contained in:
parent
ad50bd64f7
commit
25db6e69ea
@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user