guess and check

This commit is contained in:
Chris Wanstrath 2026-02-16 09:36:10 -08:00
parent 1dc7b76b31
commit 82ff55ba99

View File

@ -42,7 +42,7 @@ export async function proxySubdomain(subdomain: string, req: Request): Promise<R
const body = hasBody ? await req.arrayBuffer() : undefined
const headers = new Headers(req.headers)
headers.delete('host')
headers.set('host', `localhost:${app.port}`)
headers.delete('connection')
headers.delete('keep-alive')
headers.delete('transfer-encoding')