π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
fix: api requests cors (#4929)
Quadrubo4e8b7e6dbbf2
diff --git a/apiserver/plane/settings/common.py b/apiserver/plane/settings/common.pyindex 40128f9ad4..937ff0c2a7 100644--- a/apiserver/plane/settings/common.py+++ b/apiserver/plane/settings/common.py@@ -16,6 +16,7 @@ from django.core.management.utils import get_random_secret_keyfrom sentry_sdk.integrations.celery import CeleryIntegrationfrom sentry_sdk.integrations.django import DjangoIntegrationfrom sentry_sdk.integrations.redis import RedisIntegration+from corsheaders.defaults import default_headersBASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))@@ -127,6 +128,8 @@ else:CORS_ALLOW_ALL_ORIGINS = Truesecure_origins = False+CORS_ALLOW_HEADERS = [*default_headers, "X-API-Key"]+# Application SettingsWSGI_APPLICATION = "plane.wsgi.application"ASGI_APPLICATION = "plane.asgi.application"