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
feat(server): allow disabling serve-static
middleware entirely
#9365
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, it would be nice to update doc https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-render#static as well.
Should we also disable the second |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@antoinerey Ideally users shouldn't hit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not bad
TODO: |
👋 By any chance, any update about when this will be released? |
Hi @antoinerey there is no specific time but you can use |
Thanks for the prompt answer! I'm not sure we want to move from the stable channel to the edge one, so we'll probably work on our patience skill. 😁 |
Types of changes
Description
Allows explicitly disabling
serve-static
middleware by settingrender.static
tofalse
.closes #9362
Checklist: