If you host contao on an other server than the SPA i get the following error while calling the REST-API:
Access to XMLHttpRequest at 'http://contao.localhost.local/api/' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is it possible to add the configuration of allowed origins?
If you host contao on an other server than the SPA i get the following error while calling the REST-API:
Access to XMLHttpRequest at 'http://contao.localhost.local/api/' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Is it possible to add the configuration of allowed origins?