diff --git a/include.js b/include.js new file mode 100644 index 0000000..cc3de8e --- /dev/null +++ b/include.js @@ -0,0 +1,2 @@ +const domain = window.location.hostname === "tbmcplugins.github.io" ? "server.figytuna.com:8080" : "localhost:8080"; +console.log("Backend: " + domain); diff --git a/index.html b/index.html index 6024f7f..57fbe96 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,10 @@ + -
- Log in using Discord +