0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-24 23:21:57 -05:00

[ci] format

This commit is contained in:
Emanuele Stoppa 2024-07-18 13:45:29 +00:00 committed by astrobot-houston
parent 061f1f4d0c
commit 1a26c6dfe5
2 changed files with 3 additions and 5 deletions

View file

@ -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,
},

View file

@ -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 ?? [],