Remove misplaced http server config
This commit is contained in:
parent
be11eea04b
commit
1865917cb3
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user