From 8c101a8684e0d0c3ab88bdc2c99690253c80e750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linhart=20Luk=C3=A1=C5=A1?= Date: Tue, 17 Oct 2023 10:46:00 +0200 Subject: [PATCH] Fix _next replacement --- scripts/build-electron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-electron.js b/scripts/build-electron.js index 291491dde..9825c3a09 100644 --- a/scripts/build-electron.js +++ b/scripts/build-electron.js @@ -85,7 +85,7 @@ async function main() { for (const file of files) { if (file.endsWith('.html')) { let content = await fs.readFile(`packages/bruno-electron/web/${file}`, 'utf8'); - content = content.replace(/\/_next\//g, '/_next/'); + content = content.replace(/\/_next\//g, '_next/'); await fs.writeFile(`packages/bruno-electron/web/${file}`, content); } }