SEP-VIA-GROUP5 / SEP6

6th Semester Project
0 stars 1 forks source link

Add crossorigin #94

Closed BaicoianuIoanSorin closed 1 year ago

BaicoianuIoanSorin commented 1 year ago

In order to make the API working between BE and FE we need to add crossorigin as in the photo below. image For now is localhost:4200 because that's the route of the localhost frontend, but later when the frontend will be uploaded on cloud, it will be changed. Maybe it can be done dynamically? In the frontend there's such a thing, when you build it for production, it changes the route of the api call.