diff options
author | 2023-06-02 08:53:10 +0000 | |
---|---|---|
committer | 2023-06-02 08:53:10 +0000 | |
commit | 6533041ce03ff68220afcae470a50b902cc15640 (patch) | |
tree | de236a44952979d736356721ebb010c08194b1b3 | |
parent | 6e27f2f6dbd52f980c487e875faf1b066f65cffd (diff) | |
download | astro-6533041ce03ff68220afcae470a50b902cc15640.tar.gz astro-6533041ce03ff68220afcae470a50b902cc15640.tar.zst astro-6533041ce03ff68220afcae470a50b902cc15640.zip |
[ci] format
Diffstat (limited to '')
-rw-r--r-- | packages/astro/src/core/app/node.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/core/app/node.ts b/packages/astro/src/core/app/node.ts index 7097db967..6bd2677a7 100644 --- a/packages/astro/src/core/app/node.ts +++ b/packages/astro/src/core/app/node.ts @@ -14,7 +14,7 @@ function createRequestFromNodeRequest(req: NodeIncomingMessage, body?: Uint8Arra req.socket instanceof TLSSocket || req.headers['x-forwarded-proto'] === 'https' ? 'https' : 'http'; - const hostname = req.headers.host || req.headers[':authority']; + const hostname = req.headers.host || req.headers[':authority']; const url = `${protocol}://${hostname}${req.url}`; const rawHeaders = req.headers as Record<string, any>; const entries = Object.entries(rawHeaders); |