Skip to content

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

@bolt-new-by-stackblitz
Copy link

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.

2 participants