chore(api): increase maxHeaderSize

This commit is contained in:
pseudoyu
2024-12-05 00:33:48 +08:00
parent 4f0a740d02
commit b138698455
+3
View File
@@ -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;