diff --git a/static/js/components/chat.js b/static/js/components/chat.js index 8286a37..bdc8ad1 100644 --- a/static/js/components/chat.js +++ b/static/js/components/chat.js @@ -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);