0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[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'`