update
This commit is contained in:
parent
93c25b61c6
commit
df6592a81e
@ -28,7 +28,6 @@ func initHttpServer() {
|
|||||||
app, err := CreateApp()
|
app, err := CreateApp()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if app.Config.Http.Host == "" {
|
if app.Config.Http.Host == "" {
|
||||||
|
@ -8,7 +8,6 @@ var RootCmd = &cobra.Command{
|
|||||||
err := cmd.Help()
|
err := cmd.Help()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user