Skip to content

Commit 7e04caf

Browse files
docs: fix security.allowedDomains version (#14509)
* docs: fix `security.allowedDomains` version * docs: add changeset
1 parent fe1d35c commit 7e04caf

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/cruel-drinks-own.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'astro': patch
3+
---
4+
5+
Fixes an error in the docs that specified an incorrect version for the `security.allowedDomains` release.

packages/astro/src/types/public/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ export interface AstroUserConfig<
597597
* @name security.allowedDomains
598598
* @type {RemotePattern[]}
599599
* @default `[]`
600-
* @version 5.15.0
600+
* @version 5.14.2
601601
* @description
602602
*
603603
* Defines a list of permitted host patterns for incoming requests when using SSR. When configured, Astro will validate the `X-Forwarded-Host` header
@@ -1506,7 +1506,7 @@ export interface AstroUserConfig<
15061506
* @default `{ type: 'shiki', excludeLangs: ['math'] }`
15071507
* @description
15081508
* Which syntax highlighter to use for Markdown code blocks (\`\`\`), if any. This determines the CSS classes that Astro will apply to your Markdown code blocks.
1509-
*
1509+
*
15101510
* - `shiki` - use the [Shiki](https://shiki.style) highlighter (`github-dark` theme configured by default)
15111511
* - `prism` - use the [Prism](https://prismjs.com/) highlighter and [provide your own Prism stylesheet](https://docs.astro.build/en/guides/syntax-highlighting/#add-a-prism-stylesheet)
15121512
* - `false` - do not apply syntax highlighting.

0 commit comments

Comments
 (0)