-
v0.5.3-local.8 Stable
released this
2026-12-02 17:30:53 +08:00 | 16 commits to main since this release修复
v0.5.3-local.6把更新检查从上游 GitHub 改到自建 Gitea API,但仍不通。根因:页面来源是
http://127.0.0.1:<随机端口>,请求
https://gitea.ququclean.com/api/...属跨源,而 Gitea 不返回
Access-Control-Allow-Origin,浏览器直接拦截 fetch。
表现为「立即检查」无反应、长期显示「上次检查未成功」。改动:
src/index.ts新增/api/worktable/update-check路由,由服务端(Node,无 CORS
约束)代取 Giteareleases/latest;客户端只请求同源路径updateCheck.ts/index.tsx的 fetch 改指向该路径- 该路由沿既有约定需要鉴权(
request-auth.test.mjs要求除 health/preview-static
外所有路由都必须拒绝未鉴权请求)
安装
dsh plugin --profile web add "https://gitea.ququclean.com/xiaoqu/dsh-worktable/releases/download/v0.5.3-local.8/dsh-worktable.tgz"桌面端先完全退出 Slark 再装,装完手动重开。
资产
dsh-worktable.tgz,485317 字节- sha256
225e85683ab8848917cb09dbb80a49090b50210cc7b93245a676cc8e6e966cd4
Downloads