mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2024-11-24 12:25:39 +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();
|
||||
// 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) {
|
||||
var clientToken = uuid.v4();
|
||||
|
Loading…
Reference in New Issue
Block a user