Skip to content

fix: preserve vinext navigation on GitHub Pages - #29

Merged
owjs3901 merged 1 commit into
mainfrom
fix/pages-rsc-navigation
Sep 1, 2026
Merged

fix: preserve vinext navigation on GitHub Pages#29
owjs3901 merged 1 commit into
mainfrom
fix/pages-rsc-navigation

Conversation

@owjs3901

@owjs3901 owjs3901 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • normalize GitHub Pages .rsc responses to vinext's expected ext/x-component MIME type
  • preserve the original Response URL and body so vinext can reuse prefetched RSC payloads
  • scope the workaround to the browser-only demo fetch layer

Verification

  • �un run tsc --noEmit in packages/app`n- VITE_YEOLLIN_BASE_PATH=/yeollin-cms VITE_YEOLLIN_DEMO=true cargo run -p yeollin-cli -- build --skip-backend from �pps/example-app (22 routes, 0 skipped)
  • live Pages .rsc response reproduced as �pplication/octet-stream; normalized response retained URL and 8,296-byte body

@owjs3901
owjs3901 merged commit 5b59593 into main Sep 1, 2026
1 check passed
@owjs3901
owjs3901 deleted the fix/pages-rsc-navigation branch September 1, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant