guess and check
This commit is contained in:
parent
1dc7b76b31
commit
82ff55ba99
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user