|
@@ -17,7 +17,7 @@ import (
|
|
|
var (
|
|
var (
|
|
|
globalConfig structs.SysConfig
|
|
globalConfig structs.SysConfig
|
|
|
logger = slog.New(slog.NewJSONHandler(os.Stdout, nil))
|
|
logger = slog.New(slog.NewJSONHandler(os.Stdout, nil))
|
|
|
- BasePath string
|
|
|
|
|
|
|
+ BasePath = "/opt/nativeplanet/groundseg"
|
|
|
Version = "v2.0.0"
|
|
Version = "v2.0.0"
|
|
|
Ready = false
|
|
Ready = false
|
|
|
VersionServerReady = false
|
|
VersionServerReady = false
|
|
@@ -31,7 +31,6 @@ var (
|
|
|
WifiNetworks []string
|
|
WifiNetworks []string
|
|
|
HttpOpen = false
|
|
HttpOpen = false
|
|
|
UploadSecret string
|
|
UploadSecret string
|
|
|
- BasePath = "/opt/nativeplanet/groundseg"
|
|
|
|
|
checkInterval = 5 * time.Minute
|
|
checkInterval = 5 * time.Minute
|
|
|
confMutex sync.Mutex
|
|
confMutex sync.Mutex
|
|
|
versMutex sync.Mutex
|
|
versMutex sync.Mutex
|