From 44de9020ae49eca7cb83ff9af5939255038ac211 Mon Sep 17 00:00:00 2001 From: Nikki Nikkonor <110825664+Paymir121@users.noreply.github.com> Date: Sat, 4 Nov 2023 13:12:30 +0300 Subject: [PATCH] Update settings.py --- backend/backend/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 20c602d..5350ecd 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -23,7 +23,7 @@ "django.contrib.messages", "django.contrib.staticfiles", "drf_yasg", - "corsheaders", + # "corsheaders", "rest_framework", "djoser", "rest_framework.authtoken", @@ -174,5 +174,5 @@ "BASE_PATH": "https://documents-template.site/api/", } -CORS_ALLOW_ALL_ORIGINS = True # If this is used then `CORS_ALLOWED_ORIGINS` will not have any effect +# CORS_ALLOW_ALL_ORIGINS = True # If this is used then `CORS_ALLOWED_ORIGINS` will not have any effect