mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(core): Fetching schema files in Docker (#17623)
This commit is contained in:
@@ -378,7 +378,7 @@ export class Server extends AbstractServer {
|
|||||||
if (filePath) {
|
if (filePath) {
|
||||||
try {
|
try {
|
||||||
await fsAccess(filePath);
|
await fsAccess(filePath);
|
||||||
return res.sendFile(filePath, cacheOptions);
|
return res.sendFile(filePath, { ...cacheOptions, dotfiles: 'allow' });
|
||||||
} catch {}
|
} catch {}
|
||||||
}
|
}
|
||||||
res.sendStatus(404);
|
res.sendStatus(404);
|
||||||
|
|||||||
Reference in New Issue
Block a user