Skip to content

Commit

Permalink
Fix _next replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
Linhart Lukáš authored and Linhart Lukáš committed Oct 17, 2023
1 parent 95190fa commit 8c101a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 8c101a8

Please sign in to comment.