Updated version code and defs

- Updated version code
- Replaced hardcoded path of some config folder string with const value
This commit is contained in:
Toby Chui
2025-07-20 14:03:39 +08:00
parent 5c6950ca56
commit aff1975c5a
4 changed files with 24 additions and 19 deletions

View File

@@ -135,7 +135,7 @@ func ReverseProxtInit() {
Load all conf from files
*/
confs, _ := filepath.Glob("./conf/proxy/*.config")
confs, _ := filepath.Glob(CONF_HTTP_PROXY + "/*.config")
for _, conf := range confs {
err := LoadReverseProxyConfig(conf)
if err != nil {