Skip to content

fix(@angular/build): normalize allowedHosts in dev-server#32578

Merged
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:allowed-host-vite
Feb 25, 2026
Merged

fix(@angular/build): normalize allowedHosts in dev-server#32578
alan-agius4 merged 1 commit intoangular:mainfrom
alan-agius4:allowed-host-vite

Conversation

@alan-agius4
Copy link
Collaborator

This change ensures that allowed hosts starting with a dot (e.g. '.example.com') are converted to the wildcard format ('*.example.com') required by Angular SSR host validation. This aligns Vite's configuration style with Angular's internal validation logic.

This change ensures that allowed hosts starting with a dot (e.g. '.example.com') are converted to the wildcard format ('*.example.com') required by Angular SSR host validation. This aligns Vite's configuration style with Angular's internal validation logic.
@alan-agius4 alan-agius4 requested a review from clydin February 25, 2026 11:40
@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: patch This PR is targeted for the next patch release labels Feb 25, 2026
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Feb 25, 2026
@alan-agius4 alan-agius4 merged commit bfdc7b0 into angular:main Feb 25, 2026
37 of 38 checks passed
@alan-agius4 alan-agius4 deleted the allowed-host-vite branch February 25, 2026 13:54
@alan-agius4
Copy link
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

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

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants