diff --git a/lib/index.ts b/lib/index.ts index 97cf8882bbf482..bd6ba51d69091b 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -20,6 +20,9 @@ const server = serve({ fetch: app.fetch, hostname: config.listenInaddrAny ? '::' : '127.0.0.1', port, + serverOptions: { + maxHeaderSize: 1024 * 64, + }, }); export default server;