[ci] format

This commit is contained in:
alexanderniebuhr 2023-09-28 16:07:09 +00:00 committed by astrobot-houston
parent f6ba533df6
commit 0e35457c0f

View file

@ -130,6 +130,7 @@ There are three options available:
``` ```
### `routes.include` ### `routes.include`
`routes.include: string[]` `routes.include: string[]`
default `[]` default `[]`
@ -137,6 +138,7 @@ default `[]`
If you want to use the automatic `_routes.json` generation, but want to include additional routes (e.g. when having custom functions in the `functions` folder), you can use the `routes.include` option to add additional routes to the `include` array. If you want to use the automatic `_routes.json` generation, but want to include additional routes (e.g. when having custom functions in the `functions` folder), you can use the `routes.include` option to add additional routes to the `include` array.
### `routes.exclude` ### `routes.exclude`
`routes.exclude: string[]` `routes.exclude: string[]`
default `[]` default `[]`
@ -220,6 +222,7 @@ You can access the runtime from Astro components through `Astro.locals` inside a
// src/pages/index.astro // src/pages/index.astro
const runtime = Astro.locals.runtime; const runtime = Astro.locals.runtime;
--- ---
<pre>{JSON.stringify(runtime.env)}</pre> <pre>{JSON.stringify(runtime.env)}</pre>
``` ```