Просмотр исходного кода

Remove access-file

tags/v2.0.0-rc1
9seconds 5 лет назад
Родитель
Сommit
f89f5f8469
2 измененных файлов: 0 добавлений и 8 удалений
  1. 0
    7
      example.config.toml
  2. 0
    1
      raw_config.go

+ 0
- 7
example.config.toml Просмотреть файл

@@ -44,13 +44,6 @@ prefer-ips = "prefer-ipv6"
44 44
 # access.
45 45
 cloak-port = 443
46 46
 
47
-# Path to access file. Each time when proxy starts up, it writes an
48
-# access file. This file contains a JSON with settings how to access
49
-# this proxy.
50
-#
51
-# Pass filepath here or '-' if you want to dump into stdout.
52
-access-file = "-"
53
-
54 47
 # network defines different network-related settings
55 48
 [network]
56 49
 # please be aware that mtg needs to do some external requests. For

+ 0
- 1
raw_config.go Просмотреть файл

@@ -14,7 +14,6 @@ type rawConfig struct {
14 14
 	TCPBuffer  string `toml:"tcp-buffer"`
15 15
 	PreferIP   string `toml:"prefer-ip"`
16 16
 	CloakPort  uint   `toml:"cloak-port"`
17
-	AccessFile string `toml:"access-file"`
18 17
 	Probes     struct {
19 18
 		Time struct {
20 19
 			Enabled       bool   `toml:"enabled"`

Загрузка…
Отмена
Сохранить