ソースを参照

fix: 连接新门户

weijin 5 年 前
親
コミット
8700fe8e8f
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      src/api/axios.config.ts

+ 1 - 1
src/api/axios.config.ts

@@ -69,7 +69,7 @@ const portal = 'http://p.seec.seecoder.cn'
 export const getLoginUrl = () => {
 export const getLoginUrl = () => {
   console.log(portal)
   console.log(portal)
   const location = window.location
   const location = window.location
-  return `${portal}/api/interaction?client_id=seec-mooc&redirect_uri=${encodeURIComponent(
+  return `${portal}/interaction?client_id=seec-mooc&redirect_uri=${encodeURIComponent(
     location.origin + '/'
     location.origin + '/'
   )}&scope=openid`
   )}&scope=openid`
 }
 }