Browse Source

Add a default value to configFile

V2Ray 10 năm trước cách đây
mục cha
commit
ef6a200fe8
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      release/server/main.go

+ 1 - 1
release/server/main.go

@@ -17,7 +17,7 @@ import (
 )
 
 var (
-	configFile = flag.String("config", "", "Config file for this Point server.")
+	configFile = flag.String("config", "config.json", "Config file for this Point server.")
 	logLevel   = flag.String("loglevel", "warning", "Level of log info to be printed to console, available value: debug, info, warning, error")
 	version    = flag.Bool("version", false, "Show current version of V2Ray.")
 )