bounswe / bounswe2024group11

The proof of work and the product from the 2024G11
https://bounswe.github.io/bounswe2024group11/
11 stars 1 forks source link

Fix the Cors problem in frontend/web requests #323

Closed ozankrkya closed 4 months ago

ozankrkya commented 4 months ago

🧱 Description

We used no-cors header with requests before, however, it doesn't allow to see the response from backend since it sends opaque responses. A configuration in backend should include web server to allowed origins in backend/config/settings.py.

To be reviewed by: @umitcan07

📋 Acceptance Criteria

umitcan07 commented 4 months ago

We now respond with a header!

ozankrkya commented 4 months ago

We have resolved this issue by branching a cors branch, resolved it and merged to the develop branch. I am closing this issue.