update server app path to host's

This commit is contained in:
2026-03-19 18:24:19 +01:00
parent d4b16d80f3
commit c03234d339
5 changed files with 27 additions and 11 deletions

View File

@@ -65,6 +65,13 @@ func GetACCServersPath() string {
return DefaultACCServersPath
}
func GetACCServersHostPath() string {
if p := os.Getenv("ACC_SERVERS_HOST_PATH"); p != "" {
return p
}
return GetACCServersPath()
}
func ValidatePaths() map[string]error {
errors := make(map[string]error)