diff --git a/hotgo-server/main.go b/hotgo-server/main.go index 20efd7f..79c768a 100644 --- a/hotgo-server/main.go +++ b/hotgo-server/main.go @@ -2,17 +2,16 @@ package main import ( "github.com/bufanyun/hotgo/boot" + "github.com/gogf/gf/v2/errors/gerror" "github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/os/gctx" ) func main() { - var ( - ctx = gctx.New() - ) + var ctx = gctx.New() if err := boot.Main.RunWithError(ctx); err != nil { - g.Log().Fatal(ctx, err) + g.Log().Fatal(ctx, gerror.Stack(err)) } } diff --git a/hotgo-server/resource/public/favicon.ico b/hotgo-server/resource/public/favicon.ico new file mode 100644 index 0000000..f51c4ee Binary files /dev/null and b/hotgo-server/resource/public/favicon.ico differ