更新按钮可以用 Secret 里的钥匙(给安装页用) #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "update-token-secret"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
install.dan9.si 装好住户后,会把一把只有 Workers Scripts 权限的钥匙放进
RESIDENT_UPDATE_CLOUDFLARE_TOKEN。这样设置页的「更新」直接就能用,不用再粘第二次。Secret 里的钥匙只拿来用,不会写进存储。设置页里自己粘的钥匙优先。
测试:
self-update.mjs13 项全过,web-ui.mjs也通过,typecheck 干净。🤖 Generated with Claude Code