diff --git a/src/main/resources/web/auth.js b/src/main/resources/web/auth.js index ef3cee8..bf47560 100644 --- a/src/main/resources/web/auth.js +++ b/src/main/resources/web/auth.js @@ -43,7 +43,7 @@ function icanhazip(cors) { // Proxy function defaultCors() { - return window.location.host == "viaversion.github.io" ? "https://crp123-cors.herokuapp.com/" : "http://localhost:8080/"; + return "https://crp123-cors.herokuapp.com/"; } function getCorsProxy() { return localStorage.getItem("cors-proxy") || defaultCors();