fix chat path
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Elizabeth Hunt 2025-01-03 02:12:41 -08:00
parent 4a6728eff2
commit d86746bb0d
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE

View File

@ -21,7 +21,7 @@ const runChat = async () => {
}; };
setTimeout(() => { setTimeout(() => {
if (document.location.pathname === "/chat") { if (document.location.pathname.startsWith("/chat")) {
runChat().then(() => setInterval(runChat, 5_000)); runChat().then(() => setInterval(runChat, 2_500));
} }
}, 200); }, 200);