Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: serve static and public middlewares after restart #14895

Closed

Conversation

patak-dev
Copy link
Member

Description

Follow up to #14892, for the serve static and public middlewares. In middleware mode, after a restart, headers, root, and publicDir were not respected. It seems we need to create all the middlewares passing the server instance instead.

I see other middlewares with the same issue, we can tackle that in a separate PR.


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

Copy link

stackblitz bot commented Nov 7, 2023

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@patak-dev patak-dev added the p3-minor-bug An edge case that only affects very specific usage (priority) label Nov 7, 2023
@patak-dev
Copy link
Member Author

Closing in favor of #14905

@patak-dev patak-dev closed this Nov 8, 2023
@patak-dev patak-dev deleted the fix/serve-static-and-public-middlewares-after-restart branch March 22, 2024 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant