Closed priti921 closed 12 months ago
Looks like your frontend ENV vars have a double http://
- API_URL=http://http://<ip-address>:4800 # Points to the API service
- CDN_URL=http://http://<ip-address>:4802 # Points to the CDN service
Looks like your frontend ENV vars have a double
http://
- API_URL=http://http://<ip-address>:4800 # Points to the API service - CDN_URL=http://http://<ip-address>:4802 # Points to the CDN service
Yeah i figured that one out while writing this issue. But i forgot to edit the texts later.
Still it's showing the same cors error
I spun up your provide docker compose and I was able to log in just fine. Is there any unique about your Docker networking? Do you have any browser extensions that may be interfering?
yeah It didn't work on my PC but worked in my laptop so I'm guessing I made some mistake somewhere.
anyways, thank you for helping me out :)
Error in console:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://<ip-address>:4800/api/v1/auth/login. (Reason: CORS request did not succeed). Status code: (null).
This is my docker-compose.yaml file:
Steps I did:
1.went to the URL: http://ip-address:4801
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://<ip-addgress>:4800/api/v1/auth/login. (Reason: CORS request did not succeed). Status code: (null).
Am I doing something wrong? I'm not used to this much but i tried following the steps in installation. Thanks in advance