[ci] format
This commit is contained in:
parent
5d1d0aeda6
commit
3755424f93
1 changed files with 1 additions and 1 deletions
|
@ -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'`
|
||||||
|
|
Loading…
Reference in a new issue