From 12d6fa811d3eaf27d1c6b601fbe417e6942ab89d Mon Sep 17 00:00:00 2001 From: adams549659584 <13760614423@163.com> Date: Fri, 26 May 2023 08:40:58 +0800 Subject: [PATCH] fix: :bug: fix vercel route --- api/sysConfig.go | 3 +-- vercel.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/api/sysConfig.go b/api/sysConfig.go index 10e1cf5d77..0f4228a8ee 100644 --- a/api/sysConfig.go +++ b/api/sysConfig.go @@ -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) { diff --git a/vercel.json b/vercel.json index e6670f0e20..18fa47ee00 100644 --- a/vercel.json +++ b/vercel.json @@ -9,7 +9,7 @@ ], "routes": [ { - "src": "/sysconf/.*", + "src": "/sysconf", "dest": "/api/sysConfig.go" }, {