mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-04 09:30:00 +01:00
set crp123-cors as default cors proxy
This commit is contained in:
parent
e5f46dfd57
commit
0b101d1278
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user