mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-04 05:43:52 +01:00
Fix _next replacement
This commit is contained in:
parent
95190fa424
commit
8c101a8684
@ -85,7 +85,7 @@ async function main() {
|
|||||||
for (const file of files) {
|
for (const file of files) {
|
||||||
if (file.endsWith('.html')) {
|
if (file.endsWith('.html')) {
|
||||||
let content = await fs.readFile(`packages/bruno-electron/web/${file}`, 'utf8');
|
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);
|
await fs.writeFile(`packages/bruno-electron/web/${file}`, content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user