Domain Override hotfix
This commit is contained in:
parent
71883d1be4
commit
1186ade6a7
7
index.js
7
index.js
@ -262,12 +262,11 @@ $(() => {
|
||||
|
||||
// Override domain
|
||||
$.get("/DOMAIN_OVERRIDE", function (data) {
|
||||
if(data){
|
||||
USE_ORIGIN = data.replaceAll("\n", "");
|
||||
DEBUG = true;
|
||||
}else{
|
||||
}).fail(() => {
|
||||
USE_ORIGIN = "https://tty.hackers.town";
|
||||
}
|
||||
}).always(() => {
|
||||
|
||||
// Device Detection
|
||||
if (/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|ipad|iris|kindle|Android|Silk|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i.test(navigator.userAgent) ||
|
||||
@ -287,7 +286,7 @@ $(() => {
|
||||
if(typeof ErrorMsg !== 'undefined' && ErrorMsg.innerText.includes("Retry")){
|
||||
dbp("attempt retry");
|
||||
isRetry = true;
|
||||
// beginOauth();
|
||||
beginOauth();
|
||||
}
|
||||
}
|
||||
// Console Welcome
|
||||
|
Loading…
Reference in New Issue
Block a user