We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aa2dfd commit 59a2fbcCopy full SHA for 59a2fbc
packages/astro/src/core/app/node.ts
@@ -87,8 +87,7 @@ export class NodeApp extends App {
87
88
const portInHostname = typeof hostname === 'string' && /:\d+$/.test(hostname);
89
const hostnamePort = portInHostname ? hostname : `${hostname}${port ? `:${port}` : ''}`;
90
-
91
+
92
const url = `${protocol}://${hostnamePort}${req.url}`;
93
const options: RequestInit = {
94
method: req.method || 'GET',
0 commit comments