[ci] format

This commit is contained in:
natemoo-re 2023-08-07 17:54:43 +00:00 committed by astrobot-houston
parent 6a27e932d6
commit 1283cfd19f

View file

@ -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). * 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 * This also handles pre-rendered /404 or /500 routes
*/ */
async #renderError( async #renderError(request: Request, { status, response: originalResponse }: RenderErrorOptions) {
request: Request,
{ status, response: originalResponse }: RenderErrorOptions
) {
const errorRouteData = matchRoute('/' + status, this.#manifestData); const errorRouteData = matchRoute('/' + status, this.#manifestData);
const url = new URL(request.url); const url = new URL(request.url);
if (errorRouteData) { if (errorRouteData) {