Fix format

This commit is contained in:
ryo-ma 2025-11-22 23:12:39 +09:00
parent fe11abe6ec
commit 72245888de

View file

@ -84,7 +84,10 @@ async function app(req: Request): Promise<Response> {
error.render(),
{
status: error.status,
headers: new Headers({ "Content-Type": "text", "Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}`}),
headers: new Headers({
"Content-Type": "text",
"Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}`,
}),
},
);
}
@ -127,7 +130,10 @@ async function app(req: Request): Promise<Response> {
ErrorPage({ error: userResponseInfo }).render(),
{
status: userResponseInfo.code,
headers: new Headers({ "Content-Type": "text", "Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}` }),
headers: new Headers({
"Content-Type": "text",
"Cache-Control": `public, max-age=${CONSTANTS.CACHE_MAX_AGE}`,
}),
},
);
}