app/server/server.go

13 lines
250 B
Go
Raw Normal View History

2021-12-16 04:11:33 +00:00
package server
import "github.com/spf13/viper"
func init() {
// Server
viper.SetDefault("server.port", "80")
viper.SetDefault("server.host", "0.0.0.0")
viper.SetDefault("server.url", "http://localhost")
viper.SetDefault("server.allow", "")
}