From e533762f3387af60994a9ccf2333965d4e994bb8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 28 Oct 2024 13:57:10 +0100 Subject: [PATCH] :paperclip: Show version on dbg header --- backend/resources/app/templates/debug.tmpl | 2 +- backend/src/app/http/debug.clj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/resources/app/templates/debug.tmpl b/backend/resources/app/templates/debug.tmpl index d408d5d9db..8ba83a2410 100644 --- a/backend/resources/app/templates/debug.tmpl +++ b/backend/resources/app/templates/debug.tmpl @@ -7,7 +7,7 @@ Debug Main Page {% block content %}
diff --git a/backend/src/app/http/debug.clj b/backend/src/app/http/debug.clj index c62202572e..c9174813f5 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -47,7 +47,7 @@ {::rres/status 200 ::rres/headers {"content-type" "text/html"} ::rres/body (-> (io/resource "app/templates/debug.tmpl") - (tmpl/render {}))}) + (tmpl/render {:version (:full cf/version)}))}) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; FILE CHANGES