Skip to content

Conversation

sapphi-red
Copy link
Member

Description

Similar with #20222, but for the preview server.

The moved middlewares are:

  • corsMiddleware
  • hostValidationMiddleware

timeMiddleware and rejectInvalidRequestMiddleware does not exist in the preview server.

@sapphi-red sapphi-red marked this pull request as ready for review June 17, 2025 02:30
@sapphi-red sapphi-red added breaking change p2-nice-to-have Not breaking anything but nice to have (priority) labels Jun 17, 2025
@sapphi-red
Copy link
Member Author

Merging as I assume this should have been included in #20222

@sapphi-red sapphi-red merged commit b989c42 into vitejs:main Jun 17, 2025
17 checks passed
@sapphi-red sapphi-red deleted the feat/apply-some-middlewares-before-configure-preview-server-hook branch August 6, 2025 03:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change p2-nice-to-have Not breaking anything but nice to have (priority)

1 participant