冯诚 3 년 전
부모
커밋
0225cc785d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/utils/third-login.ts

+ 1 - 1
src/utils/third-login.ts

@@ -28,7 +28,7 @@ function testAPI() {
   FB.api('/me?fields=id,name,email', function (response: any) {
     console.log(response)
     location.href =
-      'https://test.ptcrepair.com.au/api/user/facebook/callback?name=' +
+      '/api/user/facebook/callback?name=' +
       response.name +
       '&email=' +
       response.email