mirror of
https://github.com/edgebox-iot/edgeboxctl.git
synced 2026-09-25 06:13:03 +02:00
NetworkURL based on hostname
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
|
||||
"github.com/joho/godotenv"
|
||||
|
||||
"github.com/edgebox-iot/edgeboxctl/internal/system"
|
||||
"github.com/edgebox-iot/edgeboxctl/internal/utils"
|
||||
)
|
||||
|
||||
@@ -97,7 +98,7 @@ func GetEdgeApp(ID string) MaybeEdgeApp {
|
||||
Status: GetEdgeAppStatus(ID),
|
||||
Services: GetEdgeAppServices(ID),
|
||||
InternetAccessible: edgeAppInternetAccessible,
|
||||
NetworkURL: ID + ".edgebox.local",
|
||||
NetworkURL: ID + system.GetHostname() + ".local",
|
||||
InternetURL: edgeAppInternetURL,
|
||||
},
|
||||
Valid: true,
|
||||
|
||||
Reference in New Issue
Block a user