From 3118fea4f7385a209cce33a38de88b3a6e025b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BChlmann?= Date: Sat, 3 Jan 2026 16:28:23 +0100 Subject: [PATCH] Fix invalid regex --- src/main/node/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/node/app.js b/src/main/node/app.js index 3418c9b..e99a161 100644 --- a/src/main/node/app.js +++ b/src/main/node/app.js @@ -58,7 +58,7 @@ function createWindow() { const handleNavigation = (navigationUrl) => { try { const { pathname } = new URL(navigationUrl); - const isBroadcast = /\\/view\\/[^/]+\\/broadcast\\/?$/.test(pathname); + const isBroadcast = /\/view\/[^/]+\/broadcast\/?$/.test(pathname); if (isBroadcast) { clearCanvasSizeInterval();