variyaone
2026-04-07 eac607208c2ce2c74409882c023b21bff14d06fd
security: remove hardcoded webhook URL and cleanup backup files
3 files deleted
2 files modified
1074 ■■■■■ changed files
.gitignore 8 ●●●●● patch | view | raw | blame | history
1~ patch | view | raw | blame | history
archive/deprecated_scripts/~ 1045 ●●●●● patch | view | raw | blame | history
archive/frontend/index.html.backup 19 ●●●●● patch | view | raw | blame | history
scripts/official_report.py 2 ●●●●● patch | view | raw | blame | history
.gitignore
@@ -36,6 +36,14 @@
.idea/
*.swp
*.swo
.trae/
# Archive (old code)
archive/
# Backup files
*.backup
*~
# OS
.DS_Store
1~
archive/deprecated_scripts/~
File was deleted
archive/frontend/index.html.backup
File was deleted
scripts/official_report.py
@@ -17,7 +17,7 @@
    
    # 配置
    import os
    webhook_url = os.environ.get("FEISHU_WEBHOOK_URL", "https://open.feishu.cn/open-apis/bot/v2/hook/8458c372-5747-4aa1-90e6-1a1f1e0148c1")
    webhook_url = os.environ.get("FEISHU_WEBHOOK_URL", "")
    secret = os.environ.get("FEISHU_SECRET", "")
    
    if not secret: