15m44u 模式.type 归一化(gh/GH/GitHub/github 全算) + 仓库版 img.json 还原全占位符
- lsky.php loadImgJson: 模式.type 归一化判定——小写去空格/横杠/下划线后等于 gh / github / 以 github 开头 都算 GitHub。gh/GH/GitHub/GITHUB/github-issue/github_issue 全部命中;其它值不算。easy/gh_enabled 改按归一化判断,不硬比 'GitHub'。 - img.json(仓库版, 进 git): api 段还原为 example.com/example 占位符(15m44t 误写真值 进 git 已纠正), repo 段保留占位符+webhook_secret+tag。生产 img.json(FTP) 单独 维护图床真值, 本次不部署 img.json, 避免再覆盖生产图床配置致 405。
This commit is contained in:
Reference in New Issue
Block a user