From f844fca7d14464e7b2efc05491a1f370d54b2cf2 Mon Sep 17 00:00:00 2001 From: ICKelin Date: Wed, 10 Jan 2024 21:50:30 +0800 Subject: [PATCH] fix: fix http server config tag --- gtun/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtun/config.go b/gtun/config.go index 8f30386..76f20a5 100644 --- a/gtun/config.go +++ b/gtun/config.go @@ -9,12 +9,12 @@ var gConfig *Config type Config struct { Settings map[string]RegionConfig `yaml:"settings"` - HTTPServer HTTPConfig `json:"http_server"` + HTTPServer HTTPConfig `yaml:"http_server"` Log Log `yaml:"log"` } type HTTPConfig struct { - ListenAddr string `json:"listen_addr"` + ListenAddr string `yaml:"listen_addr"` } type RegionConfig struct {