diff options
author | 2023-08-07 17:54:43 +0000 | |
---|---|---|
committer | 2023-08-07 17:54:43 +0000 | |
commit | 1283cfd19f4106ff98133ba2262cc5963e6d6815 (patch) | |
tree | c18f9038d8d2c89107a6380d87019a1f3760b5ba | |
parent | 6a27e932d6c498eb29bf6568be330713526bf66f (diff) | |
download | astro-1283cfd19f4106ff98133ba2262cc5963e6d6815.tar.gz astro-1283cfd19f4106ff98133ba2262cc5963e6d6815.tar.zst astro-1283cfd19f4106ff98133ba2262cc5963e6d6815.zip |
[ci] format
Diffstat (limited to '')
-rw-r--r-- | packages/astro/src/core/app/index.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/packages/astro/src/core/app/index.ts b/packages/astro/src/core/app/index.ts index 37d6fb72e..34e55f93d 100644 --- a/packages/astro/src/core/app/index.ts +++ b/packages/astro/src/core/app/index.ts @@ -282,10 +282,7 @@ export class App { * If it is a known error code, try sending the according page (e.g. 404.astro / 500.astro). * This also handles pre-rendered /404 or /500 routes */ - async #renderError( - request: Request, - { status, response: originalResponse }: RenderErrorOptions - ) { + async #renderError(request: Request, { status, response: originalResponse }: RenderErrorOptions) { const errorRouteData = matchRoute('/' + status, this.#manifestData); const url = new URL(request.url); if (errorRouteData) { |