Skip to content

Fix local sub2api startup and API proxy#2952

Open
clovers123 wants to merge 5 commits into
Wei-Shaw:mainfrom
clovers123:guo-sub2api
Open

Fix local sub2api startup and API proxy#2952
clovers123 wants to merge 5 commits into
Wei-Shaw:mainfrom
clovers123:guo-sub2api

Conversation

@clovers123
Copy link
Copy Markdown

Problem: Codex/ccswitch could hit the Vite frontend on port 9005 for /responses, which returned a frontend 404 instead of reaching the backend on 9004. Local startup also required several manual steps, and copied config/runtime data risked being committed.\n\nFix: add local start/stop/status/log targets and scripts for the 9004 backend plus 9005 frontend, force Vite to use the TS config, proxy gateway routes such as /responses through Vite, move pnpm 11 settings into workspace config, and ignore local config/runtime data.

Problem: Codex/ccswitch could hit the Vite frontend on port 9005 for /responses, which returned a frontend 404 instead of reaching the backend on 9004. Local startup also required several manual steps, and copied config/runtime data risked being committed.\n\nFix: add local start/stop/status/log targets and scripts for the 9004 backend plus 9005 frontend, force Vite to use the TS config, proxy gateway routes such as /responses through Vite, move pnpm 11 settings into workspace config, and ignore local config/runtime data.
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Thank you for your contribution! Before we can merge this PR, we need you all to sign our Contributor License Agreement (CLA).

To sign, please reply with the following comment:

I have read the CLA Document and I hereby sign the CLA

You only need to sign once — it will be valid for all your future contributions to this project.


I have read the CLA Document and I hereby sign the CLA


0 out of 2 committers have signed the CLA.
❌ @“wuguohe”
@clovers123
“wuguohe” seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

“wuguohe” and others added 3 commits June 1, 2026 18:35
- Add timezone configuration issue (Asia/Shanghai not supported on Windows)
- Add TOTP encryption key setup
- Add upstream account configuration guide
- Add CORS configuration reference
- Add quick startup commands and log viewing tips

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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