Getting Cors ERROR

I’m building a discourse management system.
The Management system is built using firebase and angular. The only thing I use from discourse is the API call provided.
When I’m testing my functionality I get CORS ERRORS if i don’t have the google chrome extension on.
Is there a why to not get these errors?