tbmcplugins.github.io/include.js

3 lines
152 B
JavaScript
Raw Normal View History

2017-06-19 07:44:14 +00:00
const domain = window.location.hostname === "tbmcplugins.github.io" ? "server.figytuna.com:8080" : "localhost:8080";
console.log("Backend: " + domain);