diff --git a/example.config.toml b/example.config.toml index 917d69e..da7c108 100644 --- a/example.config.toml +++ b/example.config.toml @@ -44,13 +44,6 @@ prefer-ips = "prefer-ipv6" # access. cloak-port = 443 -# Path to access file. Each time when proxy starts up, it writes an -# access file. This file contains a JSON with settings how to access -# this proxy. -# -# Pass filepath here or '-' if you want to dump into stdout. -access-file = "-" - # network defines different network-related settings [network] # please be aware that mtg needs to do some external requests. For diff --git a/raw_config.go b/raw_config.go index 4f98c3e..7de66d9 100644 --- a/raw_config.go +++ b/raw_config.go @@ -14,7 +14,6 @@ type rawConfig struct { TCPBuffer string `toml:"tcp-buffer"` PreferIP string `toml:"prefer-ip"` CloakPort uint `toml:"cloak-port"` - AccessFile string `toml:"access-file"` Probes struct { Time struct { Enabled bool `toml:"enabled"`