Skip to content

Commit

Permalink
fix: bugFixed
Browse files Browse the repository at this point in the history
  • Loading branch information
soxft committed Aug 1, 2024
1 parent 2dce15c commit d879d56
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ go 1.21
require (
github.com/gin-gonic/gin v1.9.1
github.com/redis/go-redis/v9 v9.5.1
gopkg.in/yaml.v2 v2.4.0
)

require (
Expand Down
2 changes: 2 additions & 0 deletions process/webutil/webutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"fmt"
"github.com/gin-gonic/gin"
"github.com/soxft/busuanzi/app/middleware"
"github.com/soxft/busuanzi/config"
"github.com/spf13/viper"
"log"
"net/url"
Expand Down Expand Up @@ -45,6 +46,7 @@ func Init() {
}
r.Use(gin.Recovery())
r.Use(middleware.Cors())
r.LoadHTMLFiles(config.DistPath + "/index.html")

// routers
initRoute(r)
Expand Down

0 comments on commit d879d56

Please sign in to comment.