Kaynağa Gözat

use cwd instead of hardcoded path for config

reid 2 yıl önce
ebeveyn
işleme
a1ea0b45b4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      config/config.go

+ 1 - 1
config/config.go

@@ -17,7 +17,7 @@ import (
 var (
 	globalConfig       structs.SysConfig
 	logger             = slog.New(slog.NewJSONHandler(os.Stdout, nil))
-	basePath           = "/home/reid/gits/np/goseg"
+	// basePath           = "/home/reid/gits/np/goseg"
 	Version            = "v2.0.0"
 	Ready              = false
 	VersionServerReady = false