Explorar el Código

Updated cors rules

master
kj1352 hace 3 años
padre
commit
d4dde39d48
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      workx_backend/settings/base.py

+ 1
- 1
workx_backend/settings/base.py Ver fichero

@@ -42,7 +42,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

CORS_ALLOWED_ORIGINS = ['*']
CORS_ORIGIN_ALLOW_ALL = True

ROOT_URLCONF = 'workx_backend.urls'