diff --git a/config/config.go b/config/config.go index 82c7b5d..fbb6bd8 100644 --- a/config/config.go +++ b/config/config.go @@ -36,11 +36,6 @@ var ( CheckAliasURL string ) -const ( - defaultHTTPHost string = "127.0.0.1" - defaultHTTPPort uint = 7123 -) - func setBase() error { var err error @@ -77,10 +72,3 @@ func LoadConfig() error { return nil } -func Host() string { - return env.GetEnv("HOST", defaultHTTPHost) -} - -func Port() uint { - return env.GetEnvUint("PORT", defaultHTTPPort) -}