Answers for "no 'access-control-allow-origin' header is present on the requested resource GraphQL Django"

0

no 'access-control-allow-origin' header is present on the requested resource GraphQL Django

INSTALLED_APPS = (
    ...
    'corsheaders',
    ...
)

MIDDLEWARE_CLASSES = (
    ...
    'corsheaders.middleware.CorsMiddleware',
    'django.middleware.common.CommonMiddleware',
    ...
)

CORS_ORIGIN_ALLOW_ALL = True
Posted by: Guest on February-17-2022

Code answers related to "no 'access-control-allow-origin' header is present on the requested resource GraphQL Django"

Python Answers by Framework

Browse Popular Code Answers by Language