소스 검색

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 = () => {
   console.log(portal)
   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 + '/'
   )}&scope=openid`
 }