2 lines
135 B
JavaScript
2 lines
135 B
JavaScript
const domain = window.location.hostname !== "localhost" ? "server.figytuna.com" : "localhost:8080";
|
|
console.log("Backend: " + domain);
|