You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`request.getHeaders().host` is `'localhost:3000'`:
2572
+
When `request.url` is `'/status?name=ryan'` and`request.headers.host` is
2573
+
`'localhost:3000'`:
2574
2574
2575
2575
```console
2576
2576
$ node
2577
-
> new URL(request.url, `http://${request.getHeaders().host}`)
2577
+
> new URL(request.url, `http://${request.headers.host}`)
0 commit comments