[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,
|
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}")`;
|
||||||
|
|
Loading…
Reference in a new issue