[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, url,
redirect: args.ssr redirect: args.ssr
? (path, status) => { ? (path, status) => {
return new Response(null, { return new Response(null, {
status: status || 302, status: status || 302,
headers: { headers: {
Location: path, Location: path,
}, },
}); });
} }
: onlyAvailableInSSR('Astro.redirect'), : onlyAvailableInSSR('Astro.redirect'),
resolve(path: string) { resolve(path: string) {
let extra = `This can be replaced with a dynamic import like so: await import("${path}")`; let extra = `This can be replaced with a dynamic import like so: await import("${path}")`;