SpaceyaTech / mastori

Mastori is a community-driven open-source project that aims to provide a simple and efficient blogging platform built for the Dev Community
https://www.spaceyatech.com/
22 stars 54 forks source link

cors headers #104

Closed raykipkorir closed 1 year ago

raykipkorir commented 1 year ago

Fixes # (issue) No fixes

Type of change

Changes 👇

Added cors headers specifically ACCESS-CONTROL-ALLOW-ORIGIN. This allows frontend developers to consume the API from the specified origins in our settings, currently, I've set all origins are allowed to access our resources (it can be changed). Utilizing the django-cors-headers package.

Also, I've added accounts migrations folder. Someone deleted it yet it stores our migrations.

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Test Configuration:

Checklist: