Skip to content

fix: preserve vinext RSC compatibility on GitHub Pages - #31

Merged
owjs3901 merged 2 commits into
mainfrom
fix/pages-rsc-compatibility
Sep 1, 2026
Merged

fix: preserve vinext RSC compatibility on GitHub Pages#31
owjs3901 merged 2 commits into
mainfrom
fix/pages-rsc-compatibility

Conversation

@owjs3901

@owjs3901 owjs3901 commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • port the proven devup-ui.com static-export RSC transport to the Pages demo
  • install the transport inline before hydration and preserve automatic prefetch
  • pin the vinext deployment ID and restore required response metadata
  • rewrite clean RSC requests to exported .rsc artifacts while preserving the visible URL
  • apply the /yeollin-cms asset prefix inside RSC payloads

Why devup-ui.com worked

devup-ui.com already ships this dedicated transport and is hosted at the domain root. Yeollin CMS previously installed a partial adapter later from a client Provider and did not prefix RSC asset references for a project Pages subpath.

Verification

  • TypeScript check passed
  • oxlint passed with one pre-existing auth warning
  • production demo build prerendered 22 routes with 0 skipped
  • content, media, and redirects RSC payloads contain only /yeollin-cms/_next asset URLs
  • generated HTML contains the early transport, fixed deployment ID, static artifact rewrite, and visible URL restoration

@owjs3901
owjs3901 merged commit d4010a8 into main Sep 1, 2026
1 check passed
@owjs3901
owjs3901 deleted the fix/pages-rsc-compatibility branch September 1, 2026 10:07
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