diff --git a/apiserver/plane/settings/production.py b/apiserver/plane/settings/production.py index 8714f2b38..d88a845de 100644 --- a/apiserver/plane/settings/production.py +++ b/apiserver/plane/settings/production.py @@ -43,17 +43,10 @@ DOCKERIZED = os.environ.get( # Honor the 'X-Forwarded-Proto' header for request.is_secure() SECURE_PROXY_SSL_HEADER = ("HTTP_X_FORWARDED_PROTO", "https") -# Allow all host headers -ALLOWED_HOSTS = ["http://localhost:8080","http://localhost:80","http://localhost"] # TODO: Make it FALSE and LIST DOMAINS IN FULL PROD. CORS_ALLOW_ALL_ORIGINS = True -CORS_ALLOWED_ORIGINS = ["http://localhost:8080","http://localhost:80","http://localhost"] - -CORS_ALLOWED_ORIGIN_REGEXES = [ -r"^https://\w+\.domain\.com$", -] CORS_ALLOW_METHODS = [ 'DELETE',