mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
fix(editor): Replace more variants of BASE_PATH in static assets (#9564)
This commit is contained in:
parent
8da0d6e9ba
commit
d361b42c70
|
@ -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')) {
|
||||
|
|
Loading…
Reference in a new issue