[ci] format

This commit is contained in:
matthewp 2022-12-06 20:42:02 +00:00 committed by fredkbot
parent 8f3f67c96a
commit b137657699

View file

@ -194,13 +194,13 @@ export function createResult(args: CreateResultArgs): SSRResult {
url,
redirect: args.ssr
? (path, status) => {
return new Response(null, {
status: status || 302,
headers: {
Location: path,
},
});
}
return new Response(null, {
status: status || 302,
headers: {
Location: path,
},
});
}
: onlyAvailableInSSR('Astro.redirect'),
resolve(path: string) {
let extra = `This can be replaced with a dynamic import like so: await import("${path}")`;