Finalizing online support for dashboard, cloud version support

This commit is contained in:
Paulo Truta
2021-06-21 01:39:15 +00:00
parent 4614a0f070
commit 3b3010c8f0
4 changed files with 39 additions and 46 deletions
+8
View File
@@ -121,6 +121,14 @@ func GetPath(pathKey string) string {
targetPath = "/home/system/components/api/edgebox.env"
}
case "apiPath":
if env["API_PATH"] != "" {
targetPath = env["APT_PATH"]
} else {
targetPath = "/home/system/components/api/"
}
case "edgeAppsPath":
if env["EDGEAPPS_PATH"] != "" {