ultimate docker solution

This commit is contained in:
Alireza Ahmadi
2024-04-18 22:34:38 +02:00
parent c1c05c4863
commit 3d263d500f
10 changed files with 156 additions and 13 deletions
+4
View File
@@ -69,6 +69,10 @@ func GetDBPath() string {
}
func GetDefaultConfig() string {
apiEnv := GetEnvApi()
if len(apiEnv) > 0 {
return strings.Replace(defaultConfig, "127.0.0.1:1080", apiEnv, 1)
}
return defaultConfig
}