From 17f13b35e235ba148a6366c1dde54cc337214c37 Mon Sep 17 00:00:00 2001 From: "sector.rest" Date: Fri, 8 Nov 2024 13:19:04 +0900 Subject: [PATCH 1/2] feat: block sentry cdn when dsn is not set --- label_studio/templates/base.html | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/label_studio/templates/base.html b/label_studio/templates/base.html index 44f82638d510..3e1170489212 100644 --- a/label_studio/templates/base.html +++ b/label_studio/templates/base.html @@ -28,10 +28,12 @@ {% block app-scripts %} {% endblock %} - + {% if settings.FRONTEND_SENTRY_DSN %} + + {% endif %}