as
This commit is contained in:
@@ -16,9 +16,13 @@ function sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
while (true) {
|
||||
async function loop() {
|
||||
while (true) {
|
||||
changeFavicon('/favicon.ico');
|
||||
await sleep(2000);
|
||||
changeFavicon('/favicon2.ico');
|
||||
await sleep(2000);
|
||||
}
|
||||
}
|
||||
|
||||
loop();
|
||||
|
||||
Reference in New Issue
Block a user