소스 검색

hardcode real base path

reid 2 년 전
부모
커밋
172ae5d40c
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      config/config.go

+ 1 - 2
config/config.go

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