Remove misplaced http server config

This commit is contained in:
lash 2025-01-12 15:26:17 +00:00
parent be11eea04b
commit 1865917cb3
Signed by: lash
GPG Key ID: 21D2E7BB88C2A746

View File

@ -36,11 +36,6 @@ var (
CheckAliasURL string CheckAliasURL string
) )
const (
defaultHTTPHost string = "127.0.0.1"
defaultHTTPPort uint = 7123
)
func setBase() error { func setBase() error {
var err error var err error
@ -77,10 +72,3 @@ func LoadConfig() error {
return nil return nil
} }
func Host() string {
return env.GetEnv("HOST", defaultHTTPHost)
}
func Port() uint {
return env.GetEnvUint("PORT", defaultHTTPPort)
}