Skip to content

Commit

Permalink
fix: 🐛 fix vercel route
Browse files Browse the repository at this point in the history
  • Loading branch information
adams549659584 committed May 26, 2023
1 parent 6f14aa6 commit 12d6fa8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions api/sysConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ type SysConfig struct {
// 是否系统配置 cookie
IsSysCK bool `json:"isSysCK"`
// 是否已授权
IsAuth bool `json:"isAuth"`
SydneyBaseUrl string `json:"sydneyBaseUrl"`
IsAuth bool `json:"isAuth"`
}

func SysConf(w http.ResponseWriter, r *http.Request) {
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"routes": [
{
"src": "/sysconf/.*",
"src": "/sysconf",
"dest": "/api/sysConfig.go"
},
{
Expand Down

0 comments on commit 12d6fa8

Please sign in to comment.