Skip to content

docs: add allowedHosts to PreviewServerParams reference#13728

Open
ViVaLaDaniel wants to merge 1 commit intowithastro:mainfrom
ViVaLaDaniel:feat/add-allowed-hosts-to-preview-server-params
Open

docs: add allowedHosts to PreviewServerParams reference#13728
ViVaLaDaniel wants to merge 1 commit intowithastro:mainfrom
ViVaLaDaniel:feat/add-allowed-hosts-to-preview-server-params

Conversation

@ViVaLaDaniel
Copy link
Copy Markdown

This PR adds the missing \�llowedHosts\ property to the \PreviewServerParams\ reference in the Adapter API documentation. This property was added to Astro core to support host restriction in adapter preview servers (see withastro/astro#16290).

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 12, 2026

Deploy Preview for astro-docs-2 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 3a3ca26
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/69dbd2645627bc00089334f7
😎 Deploy Preview https://deploy-preview-13728--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Copy Markdown
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/reference/adapter-reference.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@astrobot-houston
Copy link
Copy Markdown
Contributor

Hello! Thank you for opening your first PR to Astro’s Docs! 🎉

Here’s what will happen next:

  1. Our GitHub bots will run to check your changes.
    If they spot any broken links you will see some error messages on this PR.
    Don’t hesitate to ask any questions if you’re not sure what these mean!

  2. In a few minutes, you’ll be able to see a preview of your changes on Netlify 🥳.

  3. One or more of our maintainers will take a look and may ask you to make changes.
    We try to be responsive, but don’t worry if this takes a few days.

@ArmandPhilippot ArmandPhilippot added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day. labels Apr 13, 2026
@ArmandPhilippot ArmandPhilippot added this to the 6.2 milestone Apr 13, 2026
Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, and welcome. I can see the implementation PR has been approved, docs LGTM too! 🎉

But, please keep our PR template the next time.

Copy link
Copy Markdown
Member

@yanthomasdev yanthomasdev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) minor-release For the next minor release; in the milestone, "merge queue" = approved for merging on release day.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants