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'`:
2541
+
When `request.url` is `'/status?name=ryan'` and`request.headers.host` is
2542
+
`'localhost:3000'`:
2543
2543
2544
2544
```console
2545
2545
$ node
2546
-
> new URL(request.url, `http://${request.getHeaders().host}`)
2546
+
> new URL(request.url, `http://${request.headers.host}`)
0 commit comments