fix(static-server): directoryListing: false (#3010)
This commit is contained in:
parent
3f5704421d
commit
4ed6d50400
@ -149,6 +149,7 @@ export class Gateway extends EventEmitter {
|
|||||||
await compress(req, res);
|
await compress(req, res);
|
||||||
return handler(req, res, {
|
return handler(req, res, {
|
||||||
public: resolve(process.cwd()),
|
public: resolve(process.cwd()),
|
||||||
|
directoryListing: false,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user