[ci] format

This commit is contained in:
bluwy 2023-08-15 13:17:37 +00:00 committed by astrobot-houston
parent 5d1d0aeda6
commit 3755424f93

View file

@ -699,7 +699,7 @@ export interface AstroUserConfig {
* - `file` - The `Astro.url.pathname` will include `.html`; ie `/foo.html`. * - `file` - The `Astro.url.pathname` will include `.html`; ie `/foo.html`.
* *
* This means that when you create relative URLs using `new URL('./relative', Astro.url)`, you will get consistent behavior between dev and build. * This means that when you create relative URLs using `new URL('./relative', Astro.url)`, you will get consistent behavior between dev and build.
* *
* To prevent inconsistencies with trailing slash behaviour in dev, you can restrict the [`trailingSlash` option](#trailingslash) to `'always'` or `'never'` depending on your build format: * To prevent inconsistencies with trailing slash behaviour in dev, you can restrict the [`trailingSlash` option](#trailingslash) to `'always'` or `'never'` depending on your build format:
* - `directory` - Set `trailingSlash: 'always'` * - `directory` - Set `trailingSlash: 'always'`
* - `file` - Set `trailingSlash: 'never'` * - `file` - Set `trailingSlash: 'never'`