-1
Guys I’m having this mistake in a project:
Failed to load http://127.0.0.1:8000/hqi/pages: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:4200' is therefore not allowed access.
And I can not solve, I followed some examples that taught to create a proxy file:
const proxy = [
{
context: '/hqi',
target: 'http://localhost:8000'
}];
module.exports = proxy;
however, it did not result the error persists, someone could help me?
you have to set up Cors in your backend
– Eduardo Vargas
What are you wearing in the back-end?
– renanvm