-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
chore: 🐛 调整 dev server onBeforeMiddleware 调用顺序 #10952
Conversation
让 onBeforeMiddleware 真正优先于内置的 Middleware
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Size Change: 0 B Total Size: 9.85 MB ℹ️ View Unchanged
|
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #10952 +/- ##
=======================================
Coverage 29.27% 29.27%
=======================================
Files 478 478
Lines 14318 14317 -1
Branches 3369 3368 -1
=======================================
Hits 4191 4191
+ Misses 9405 9404 -1
Partials 722 722
... and 1 file with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
让 onBeforeMiddleware 真正优先于内置的 Middleware
使用的场景:需要给构建产物的 http 响应增加特殊的 http 头,需要在后面的 static 中间件之前配置好。