Browse Source

跨域处理

yangc 7 năm trước cách đây
mục cha
commit
fb684c6f72
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server.js

+ 1 - 1
server.js

@@ -24,7 +24,7 @@ process.noDeprecation = true
 //   next()
 // })
 
-// 账户中心接口统一处理
+// 账户中心接口统一转发
 app.get('/ssoPrefix/**', (req, res, next) => {
   res.redirect(req.url.replace('/ssoPrefix', ''))
   next()