From f89f5f8469615e8e1090fe447dffa2f352dc639a Mon Sep 17 00:00:00 2001 From: 9seconds Date: Wed, 10 Mar 2021 11:03:23 +0300 Subject: [PATCH] Remove access-file --- example.config.toml | 7 ------- raw_config.go | 1 - 2 files changed, 8 deletions(-) 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"`