Skip to content

Commit

Permalink
fix(editor): Replace more variants of BASE_PATH in static assets (#9564)
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy authored and ivov committed Jun 3, 2024
1 parent e7e738b commit 4e42ac7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/commands/start.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export class Start extends BaseCommand {
createReadStream(filePath, 'utf-8'),
replaceStream('/{{BASE_PATH}}/', n8nPath, { ignoreCase: false }),
replaceStream('/%7B%7BBASE_PATH%7D%7D/', n8nPath, { ignoreCase: false }),
replaceStream('/%257B%257BBASE_PATH%257D%257D/', n8nPath, { ignoreCase: false }),
replaceStream('/static/', n8nPath + 'static/', { ignoreCase: false }),
];
if (filePath.endsWith('index.html')) {
Expand Down

0 comments on commit 4e42ac7

Please sign in to comment.