Skip to content

fix(web): support sandbox deployment routing#94

Merged
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
jialudev:fix/assets-url
May 21, 2026
Merged

fix(web): support sandbox deployment routing#94
RussellLuo merged 1 commit into
OpenCSGs:mainfrom
jialudev:fix/assets-url

Conversation

@jialudev
Copy link
Copy Markdown
Collaborator

Summary

  • Resolve frontend assets, favicon, shared worker, and API requests relative to the current mount point so the web UI can run behind sandbox path prefixes.
  • Switch the SPA to hash routing to avoid server-side route fallback assumptions in sandbox deployments.
  • Use registry/name Hub template routes instead of encoded slash IDs so template detail and workspace file requests survive proxy and sandbox routing layers.

Testing

  • Not run by Codex in this PR creation step; user reports this branch was tested locally.

@jialudev jialudev requested a review from RussellLuo May 21, 2026 03:50
@RussellLuo
Copy link
Copy Markdown
Collaborator

LGTM

@RussellLuo RussellLuo merged commit ed6e3e0 into OpenCSGs:main May 21, 2026
@jialudev jialudev deleted the fix/assets-url branch May 21, 2026 09:32
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.

2 participants