Skip to content

Commit

Permalink
🔖 2.8.2 release
Browse files Browse the repository at this point in the history
  • Loading branch information
soxft committed Aug 12, 2024
1 parent 1b8c62b commit de09113
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
var (
configPath string
DistPath string
VERSION = "2.8.1"
VERSION = "2.8.2"
)

func Init() {
Expand Down
2 changes: 1 addition & 1 deletion dist/busuanzi.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/busuanzi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

let bsz_send: Function = function () {
let xhr: XMLHttpRequest = new XMLHttpRequest();
xhr.open("GET", api, true);
xhr.open("POST", api, true);

// set user identity
let token: string | null = localStorage.getItem(storageName);
Expand Down
4 changes: 1 addition & 3 deletions process/webutil/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ func initRoute(r *gin.Engine) {
{
api := r.Group("/api")
{
api.GET("/status", controller.GetHandler)

api.Use(middleware.Identity())
api.POST("", controller.ApiHandler)
api.GET("", controller.ApiHandler)
api.GET("", controller.GetHandler)
api.PUT("", controller.PutHandler)
}

Expand Down

0 comments on commit de09113

Please sign in to comment.