Skip to content

Commit 12d6fa8

Browse files
fix: 🐛 fix vercel route
1 parent 6f14aa6 commit 12d6fa8

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

api/sysConfig.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ type SysConfig struct {
1010
// 是否系统配置 cookie
1111
IsSysCK bool `json:"isSysCK"`
1212
// 是否已授权
13-
IsAuth bool `json:"isAuth"`
14-
SydneyBaseUrl string `json:"sydneyBaseUrl"`
13+
IsAuth bool `json:"isAuth"`
1514
}
1615

1716
func SysConf(w http.ResponseWriter, r *http.Request) {

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"routes": [
1111
{
12-
"src": "/sysconf/.*",
12+
"src": "/sysconf",
1313
"dest": "/api/sysConfig.go"
1414
},
1515
{

0 commit comments

Comments
 (0)