Skip to content

Commit

Permalink
disable http keepalive for avoiding connection errors
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Jul 14, 2022
1 parent dfc69bf commit d74513c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/[[...slug]].ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ const dynamicHandler = (method, slug) => {
}

const Handler: BlitzApiHandler = async (req: BlitzApiRequest, res: BlitzApiResponse) => {
res.shouldKeepAlive = false
const {
query: { slug },
method,
Expand Down

0 comments on commit d74513c

Please sign in to comment.