[ci] format

This commit is contained in:
matthewp 2022-08-10 20:24:40 +00:00 committed by fredkbot
parent 714a8399e2
commit df26aa220b
2 changed files with 9 additions and 3 deletions

View file

@ -83,7 +83,7 @@ export class App {
}
// Use the 404 status code for 404.astro components
if(routeData.route === '/404') {
if (routeData.route === '/404') {
defaultStatus = 404;
}

View file

@ -44,10 +44,16 @@ export class NodeApp extends App {
});
return reqBodyComplete.then(() => {
return super.render(req instanceof Request ? req : createRequestFromNodeRequest(req, body), routeData);
return super.render(
req instanceof Request ? req : createRequestFromNodeRequest(req, body),
routeData
);
});
}
return super.render(req instanceof Request ? req : createRequestFromNodeRequest(req), routeData);
return super.render(
req instanceof Request ? req : createRequestFromNodeRequest(req),
routeData
);
}
}