Skip to content

Commit

Permalink
fix: fix http server config tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ICKelin committed Jan 10, 2024
1 parent e3ff8aa commit f844fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gtun/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f844fca

Please sign in to comment.