mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-09-22 02:27:57 +00:00
clear:formatting code
This commit is contained in:
@@ -41,7 +41,7 @@ func portDefault(cfg *viper.Viper) string {
|
||||
}
|
||||
|
||||
func isHttpsDefault(cfg *viper.Viper) bool {
|
||||
if cfg.GetString("ishttps") == "" || cfg.GetBool("ishttps") == false{
|
||||
if cfg.GetString("ishttps") == "" || cfg.GetBool("ishttps") == false {
|
||||
return false
|
||||
} else {
|
||||
return true
|
||||
|
||||
Reference in New Issue
Block a user