-
Notifications
You must be signed in to change notification settings - Fork 350
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: error header key in other metaName #4695
Conversation
🦋 Changeset detectedLatest commit: 43b5999 The changes in this PR will be included in the next version bump. This PR includes changesets to release 257 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4695 +/- ##
==========================================
- Coverage 57.59% 53.74% -3.86%
==========================================
Files 672 664 -8
Lines 17794 18108 +314
Branches 3876 4147 +271
==========================================
- Hits 10249 9732 -517
- Misses 6934 7717 +783
- Partials 611 659 +48 ☔ View full report in Codecov by Sentry. |
Summary
🤖 Generated by Copilot at 43b5999
Refactor SSR logic and add changeset for
@modern-js/prod-server
package. The refactor improves the fallback handling for SSR errors and client-side rendering. The changeset documents the patch version update and the fixes in both languages.Details
🤖 Generated by Copilot at 43b5999
@modern-js/prod-server
package (link)calcFallback
to generate the header key for the SSR fallback mode based on the metaName (link)calcFallback
function to replace the hardcoded header keys in therender
function of theprod-server/src/libs/render/index.ts
file, which handles the SSR logic for each request (link, link)Related Issue
Checklist
pnpm run change
.