This commit is contained in:
parent
4a6728eff2
commit
d86746bb0d
@ -21,7 +21,7 @@ const runChat = async () => {
|
||||
};
|
||||
|
||||
setTimeout(() => {
|
||||
if (document.location.pathname === "/chat") {
|
||||
runChat().then(() => setInterval(runChat, 5_000));
|
||||
if (document.location.pathname.startsWith("/chat")) {
|
||||
runChat().then(() => setInterval(runChat, 2_500));
|
||||
}
|
||||
}, 200);
|
||||
|
Loading…
Reference in New Issue
Block a user