mirror of
https://github.com/withastro/astro.git
synced 2025-03-31 23:31:30 -05:00
[docs] update JSDoc for formatting in docs (#10372)
This commit is contained in:
parent
78bafc5d66
commit
580d333f25
1 changed files with 3 additions and 3 deletions
|
@ -887,10 +887,10 @@ export interface AstroUserConfig {
|
|||
* @description
|
||||
* Specifies the prefix for Astro-generated asset links. This can be used if assets are served from a different domain than the current site.
|
||||
*
|
||||
* This requires uploading the assets in your local `./dist/_astro` folder to a corresponding `/_astro/` folder on the remote domain.
|
||||
* This requires uploading the assets in your local `./dist/_astro` folder to a corresponding `/_astro/` folder on the remote domain.
|
||||
* To rename the `_astro` path, specify a new directory in `build.assets`.
|
||||
*
|
||||
* To fetch all assets uploaded to the same domain (e.g. `https://cdn.example.com/_astro/...`), set `assetsPrefix` to the root domain as a string (regardless of your `base` configuration):
|
||||
* To rename the `_astro` path, specify a new directory in `build.assets`.
|
||||
*
|
||||
* ```js
|
||||
* {
|
||||
|
@ -900,7 +900,7 @@ export interface AstroUserConfig {
|
|||
* }
|
||||
* ```
|
||||
*
|
||||
* **Added in 4.5.0**
|
||||
* **Added in:** `astro@4.5.0`
|
||||
*
|
||||
* You can also pass an object to `assetsPrefix` to specify a different domain for each file type.
|
||||
* In this case, a `fallback` property is required and will be used by default for any other files.
|
||||
|
|
Loading…
Add table
Reference in a new issue