• qiuqunfeng's avatar
    Switch from YAML to JSON configuration and rule files · ea21cd21
    qiuqunfeng authored
    - Updated config loading in `cmd/app/config.go` to use JSON instead of YAML
    - Modified `internal/service/waf.go` to read WAF rules from JSON file
    - Removed YAML library imports and replaced with JSON unmarshaling
    - Updated file extensions from `.yaml` to `.json` in file reading logic
    ea21cd21
config.go 1.73 KB