冯诚 před 3 roky
rodič
revize
0225cc785d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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