冯诚 2 年之前
父节点
当前提交
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