fix(core): Fetching schema files in Docker (#17623)

This commit is contained in:
RomanDavydchuk
2025-07-25 16:36:46 +03:00
committed by GitHub
parent ae089173a7
commit 5a3b0a2481

View File

@@ -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);