diff --git a/apiserver/plane/api/views/config.py b/apiserver/plane/api/views/config.py index a06a7f7fc..d035c4740 100644 --- a/apiserver/plane/api/views/config.py +++ b/apiserver/plane/api/views/config.py @@ -31,4 +31,7 @@ class ConfigurationEndpoint(BaseAPIView): os.environ.get("ENABLE_EMAIL_PASSWORD", "0") == "1" ) data["slack_client_id"] = os.environ.get("SLACK_CLIENT_ID", None) + data["posthog_api_key"] = os.environ.get("POSTHOG_API_KEY", None) + data["posthog_host"] = os.environ.get("POSTHOG_HOST", None) + data["has_unsplash_configured"] = bool(settings.UNSPLASH_ACCESS_KEY) return Response(data, status=status.HTTP_200_OK)