Update {{cookiecutter.project_slug}}/config/settings/base.py
@@ -327,9 +327,7 @@ REST_FRAMEWORK = {
}
# django-cors-headers - https://github.com/adamchainz/django-cors-headers#setup
-CORS_URLS_REGEX = {
- r"^/api.*$",
-}
+CORS_URLS_REGEX = r"^/api/.*$"
{%- endif %}
# Your stuff...
