[ci] format
This commit is contained in:
parent
8f3f67c96a
commit
b137657699
1 changed files with 7 additions and 7 deletions
|
@ -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}")`;
|
||||
|
|
Loading…
Reference in a new issue