mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(editor): Replace more variants of BASE_PATH in static assets (#9564)
This commit is contained in:
committed by
GitHub
parent
8da0d6e9ba
commit
d361b42c70
@@ -141,6 +141,7 @@ export class Start extends BaseCommand {
|
|||||||
createReadStream(filePath, 'utf-8'),
|
createReadStream(filePath, 'utf-8'),
|
||||||
replaceStream('/{{BASE_PATH}}/', n8nPath, { ignoreCase: false }),
|
replaceStream('/{{BASE_PATH}}/', n8nPath, { ignoreCase: false }),
|
||||||
replaceStream('/%7B%7BBASE_PATH%7D%7D/', 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 }),
|
replaceStream('/static/', n8nPath + 'static/', { ignoreCase: false }),
|
||||||
];
|
];
|
||||||
if (filePath.endsWith('index.html')) {
|
if (filePath.endsWith('index.html')) {
|
||||||
|
|||||||
Reference in New Issue
Block a user