Skip to content

fix: serve static and public middlewares after restart#14895

Closed
patak-cat wants to merge 1 commit intomainfrom
fix/serve-static-and-public-middlewares-after-restart
Closed

fix: serve static and public middlewares after restart#14895
patak-cat wants to merge 1 commit intomainfrom
fix/serve-static-and-public-middlewares-after-restart

Conversation

@patak-cat
Copy link
Copy Markdown
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
Copy Markdown

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

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

Closing in favor of #14905

@patak-cat patak-cat closed this Nov 8, 2023
@patak-cat patak-cat 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