aboutsummaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-29 08:50:47 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-29 08:50:47 +0800
commitd04d8362945d39add4515db0fab22699f207af54 (patch)
tree3080f6f9cb484f9e6ebe7b564dfc6fce4a13a57d /config/config.go
parentRemove Nix stuff for now (diff)
downloadlegitrx-d04d8362945d39add4515db0fab22699f207af54.tar.gz
legitrx-d04d8362945d39add4515db0fab22699f207af54.tar.zst
legitrx-d04d8362945d39add4515db0fab22699f207af54.zip
Use single config value for listen addrHEADmaster
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/config.go b/config/config.go
index 7c38341..e8fdcbb 100644
--- a/config/config.go
+++ b/config/config.go
@@ -25,8 +25,7 @@ type Config struct {
} `yaml:"meta"`
Server struct {
Name string `yaml:"name,omitempty"`
- Host string `yaml:"host"`
- Port int `yaml:"port"`
+ Addr string `yaml:"addr"`
} `yaml:"server"`
}