mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-28 13:05:16 +01:00
update cors status every 10 minutes
This commit is contained in:
parent
60edb57bcc
commit
462d9ffb45
@ -58,7 +58,8 @@ function setCorsProxy(url) {
|
|||||||
refreshCorsStatus();
|
refreshCorsStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
refreshCorsStatus();
|
// Heroku sleeps in 30 minutes, let's call it every 10 minutes to keep the same address, so Mojang see it as less suspect
|
||||||
|
setInterval(refreshCorsStatus, 10 * 60 * 1000);
|
||||||
|
|
||||||
function loginMc(user, pass) {
|
function loginMc(user, pass) {
|
||||||
var clientToken = uuid.v4();
|
var clientToken = uuid.v4();
|
||||||
|
Loading…
Reference in New Issue
Block a user