adjust config file
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 6s

This commit is contained in:
Merith-TK 2025-02-04 17:29:28 +00:00
parent 61ee070c08
commit ac39f47196

View file

@ -13,9 +13,9 @@ import (
func main() { func main() {
flag.Parse() flag.Parse()
configPath := os.Getenv("GOPROXY_CONFIG") configPath := os.Getenv("SIMPLEPROXY_CONFIG")
if configPath == "" || flag.Arg(0) == "" { if configPath == "" || flag.Arg(0) == "" {
configPath = "goproxy.json" // Default path for Docker configPath = "simpleproxy.json" // Default path for Docker
} }
config := ReadConfig(configPath) config := ReadConfig(configPath)