mirror of
https://github.com/withastro/astro.git
synced 2025-03-24 23:21:57 -05:00
[ci] format
This commit is contained in:
parent
061f1f4d0c
commit
1a26c6dfe5
2 changed files with 3 additions and 5 deletions
|
@ -30,15 +30,13 @@ export function createDefaultRoutes(manifest: SSRManifest): DefaultRouteParams[]
|
|||
return [
|
||||
{
|
||||
instance: default404Instance,
|
||||
matchesComponent: (filePath) =>
|
||||
filePath.href === new URL(DEFAULT_404_COMPONENT, root).href,
|
||||
matchesComponent: (filePath) => filePath.href === new URL(DEFAULT_404_COMPONENT, root).href,
|
||||
route: DEFAULT_404_ROUTE.route,
|
||||
component: DEFAULT_404_COMPONENT,
|
||||
},
|
||||
{
|
||||
instance: createServerIslandEndpoint(manifest),
|
||||
matchesComponent: (filePath) =>
|
||||
filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href,
|
||||
matchesComponent: (filePath) => filePath.href === new URL(SERVER_ISLAND_COMPONENT, root).href,
|
||||
route: SERVER_ISLAND_ROUTE,
|
||||
component: SERVER_ISLAND_COMPONENT,
|
||||
},
|
||||
|
|
|
@ -189,7 +189,7 @@ export function createBasicPipeline(options = {}) {
|
|||
const pipeline = new Pipeline(
|
||||
options.logger ?? defaultLogger,
|
||||
options.manifest ?? {
|
||||
hrefRoot: import.meta.url
|
||||
hrefRoot: import.meta.url,
|
||||
},
|
||||
options.mode ?? 'development',
|
||||
options.renderers ?? [],
|
||||
|
|
Loading…
Add table
Reference in a new issue