mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +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) {
|
||||
try {
|
||||
await fsAccess(filePath);
|
||||
return res.sendFile(filePath, cacheOptions);
|
||||
return res.sendFile(filePath, { ...cacheOptions, dotfiles: 'allow' });
|
||||
} catch {}
|
||||
}
|
||||
res.sendStatus(404);
|
||||
|
||||
Reference in New Issue
Block a user