I have a nodeJS server running in AWS EC2 container...
But, when I try to make a post, I receive this message :
Access to XMLHttpRequest at 'api.viladalila.online:3001/session' from origin 'http://viladalila.site' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.
I tried to add CORS, but did not work!