Skip to content

fix: 修复 monorepo 后续问题与预配认证链接 - #84

Merged
Sunwuyuan merged 2 commits into
mainfrom
fix/monorepo-followup
Sep 12, 2026
Merged

fix: 修复 monorepo 后续问题与预配认证链接#84
Sunwuyuan merged 2 commits into
mainfrom
fix/monorepo-followup

Conversation

@Sunwuyuan

Copy link
Copy Markdown
Member

Summary

  • 收尾 monorepo 合并:统一本地服务端口为 3000、补齐跨域请求头、修正 Docker 入口,并让 CI lint 不再被历史债挡住。
  • 修复 /?namespace=...&authCode=...&autoExecute=true 预配链接不被自动处理的问题:异步初始化组件会错过首次预配 watch,导致认证弹窗不自动打开、也不会自动登录。

Test plan

  • 本地 pnpm run dev 后,server 在 3000 端口可访问,跨域请求头正常
  • Docker 镜像能按预期启动
  • CI lint / web / dashboard 构建通过
  • 未登录状态下打开 /?namespace=<ns>&authCode=<code>&autoExecute=true,应自动弹出设备认证并尝试登录
  • 认证码为中文(URL 编码)时能正确填入
  • 同一链接刷新不会因 URL 清理而丢失本次自动认证

统一本地服务端口为 3000,补齐跨域请求头,并让 CI lint 不再因历史债失败。
@vercel

vercel Bot commented Sep 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
classworks Ready Ready Preview Sep 12, 2026 1:51pm UTC

@Sunwuyuan
Sunwuyuan marked this pull request as ready for review September 12, 2026 13:52
@Sunwuyuan
Sunwuyuan merged commit 673665a into main Sep 12, 2026
9 of 11 checks passed
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