Closed siricoa94 closed 4 years ago
Not quite sure what I am doing wrong. I have a screenshot providing my code where the changes are made as well as my google developer console. I also included a screenshot of the error google sends back when attempting to sign in.
Also, the error in the developer console states -
"Access to fetch at 'http://api.promernstack.com:3000/auth/signin' from origin 'http://api.promernstack.com:8000' has been blocked by CORS policy".
I believe I made all the necessary changes but I might have overlooked something.
was hitting wrong endpoint in browser. "http://api.promernstack.com:8000" should have been "http://ui.promernstack.com:8000".
Not quite sure what I am doing wrong. I have a screenshot providing my code where the changes are made as well as my google developer console. I also included a screenshot of the error google sends back when attempting to sign in.
Also, the error in the developer console states -
"Access to fetch at 'http://api.promernstack.com:3000/auth/signin' from origin 'http://api.promernstack.com:8000' has been blocked by CORS policy".
I believe I made all the necessary changes but I might have overlooked something.