強化 CD 健康檢查重試
All checks were successful
CD Pipeline / deploy (push) Successful in 1m32s

This commit is contained in:
OoO
2026-04-30 08:58:22 +08:00
parent 9dd5986077
commit 5a569d1e05
9 changed files with 44 additions and 13 deletions

4
app.py
View File

@@ -95,8 +95,8 @@ except Exception as e:
sys_log.error(f"無法檢測磁碟空間: {e}")
# 🚩 系統版本定義 (備份與顯示用)
# 🚩 2026-04-30 V10.11: Gunicorn preload guard + AI metrics scrape
SYSTEM_VERSION = "V10.11"
# 🚩 2026-04-30 V10.12: CD health check internal/external hardening
SYSTEM_VERSION = "V10.12"
# ==========================================
# 🔒 SQL Injection 防護函數