Skip to content

Commit

Permalink
chore(api): increase maxHeaderSize
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudoyu committed Dec 4, 2024
1 parent 4f0a740 commit b138698
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit b138698

Please sign in to comment.