Skip to content

Commit

Permalink
[docs] update JSDoc for formatting in docs (#10372)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah11918 authored Mar 8, 2024
1 parent 78bafc5 commit 580d333
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
* {
Expand All @@ -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.
Expand Down

0 comments on commit 580d333

Please sign in to comment.