How to change the access control allow origin to url api, cause every time I load the page I\'m getting an error which is the error 500.
When I login I added this