diff options
author | 2024-10-14 08:45:25 +0000 | |
---|---|---|
committer | 2024-10-14 08:45:25 +0000 | |
commit | 59a2fbc2132f34c4be3b2d80b0fb70e90bd081c4 (patch) | |
tree | 196194b11092e7da3adfa7021a91bf9bf0edd22c | |
parent | 2aa2dfd05dc7b7e6ad13451e6cc2afa9b1c92a32 (diff) | |
download | astro-59a2fbc2132f34c4be3b2d80b0fb70e90bd081c4.tar.gz astro-59a2fbc2132f34c4be3b2d80b0fb70e90bd081c4.tar.zst astro-59a2fbc2132f34c4be3b2d80b0fb70e90bd081c4.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/app/node.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/astro/src/core/app/node.ts b/packages/astro/src/core/app/node.ts index 3ad965cd0..ff80c4e14 100644 --- a/packages/astro/src/core/app/node.ts +++ b/packages/astro/src/core/app/node.ts @@ -87,8 +87,7 @@ export class NodeApp extends App { const portInHostname = typeof hostname === 'string' && /:\d+$/.test(hostname); const hostnamePort = portInHostname ? hostname : `${hostname}${port ? `:${port}` : ''}`; - - + const url = `${protocol}://${hostnamePort}${req.url}`; const options: RequestInit = { method: req.method || 'GET', |