Closed azio7 closed 2 weeks ago
image: gztime/gzctf:latest
8122B5
Chrome
docker部署成功后,修改配置文件添加cloudflare验证码修改设置,尝试docker restart 或者 docker compose down 和docker compose up -d 后/api/captcha 返回none。最终在删除redis存放在文件系统的db时重新启动才能部署成功
验证码相关配置应当优先使用配置文件的设置
启动时先检查配置文件是否有新记录
fix in https://github.com/GZTimeWalker/GZCTF/commit/e669398026488d8cb9ba79908684a4aebbcf29f8
Before submitting / 提交之前
What version of GZCTF are you using? / 您使用的 GZCTF 版本是什么?
image: gztime/gzctf:latest
What is the commit hash for your build? (in About page and backend logs) / 您所使用的构建的提交哈希是什么?(在关于页面和后端日志中)
8122B5
In which browsers you can reproduce the issue? / 您在哪些浏览器中可以重现此问题?
Chrome
Describe the bug / 描述 bug
docker部署成功后,修改配置文件添加cloudflare验证码修改设置,尝试docker restart 或者 docker compose down 和docker compose up -d 后/api/captcha 返回none。最终在删除redis存放在文件系统的db时重新启动才能部署成功
Expected behavior / 期望行为
验证码相关配置应当优先使用配置文件的设置
Possible fix / 可能的修复
启动时先检查配置文件是否有新记录