diff --git a/packages/core/server/src/gateway/index.ts b/packages/core/server/src/gateway/index.ts index fd8e3f23d..cc0c2f275 100644 --- a/packages/core/server/src/gateway/index.ts +++ b/packages/core/server/src/gateway/index.ts @@ -149,6 +149,7 @@ export class Gateway extends EventEmitter { await compress(req, res); return handler(req, res, { public: resolve(process.cwd()), + directoryListing: false, }); }