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();