Open bobbykim89 opened 2 years ago
I have the same issue and my guess is because the server host is not running on https and this causes cors issue because the origin and host should be both https or http. Check this link under Other possible causes include section.
Did you solve it? I am searching for the answer but found nowhere.please let me know if you solved it . Thank you
I have the same issue and my guess is because the server host is not running on https and this causes cors issue because the origin and host should be both https or http. Check this link under Other possible causes include section.
I am DESPERATELY trying to find the solution. Did you figure it out??
It didn't have any error while running on the localhost but CORS error appeared after deployment. I already add cors middleware in the backend but still not doing a thing.
this is my srver.js code in backend:
this is my nuxt.config.js
I am still learning and feeling pretty clueless at the point. Thanks for the help!!