Skip to content

enable CORS  #54

@enriquezrene

Description

@enriquezrene

When the UI is trying to interact with the API, the console is showing the following error:

Access to XMLHttpRequest at 'http://timetracker-api.azurewebsites.net/activities' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

We need to enable CORS so these requests can be executed with no problems during local development and also from the app deployed in the cloud https://time-tracker-ui.azurewebsites.net/

Acceptance Criteria

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions