From deaf6ef0687199790acdc21bacc9a9b10e60919e 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 d408d5d9d..8ba83a241 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 671967875..fa9120f21 100644 --- a/backend/src/app/http/debug.clj +++ b/backend/src/app/http/debug.clj @@ -47,7 +47,7 @@ {::yres/status 200 ::yres/headers {"content-type" "text/html"} ::yres/body (-> (io/resource "app/templates/debug.tmpl") - (tmpl/render {}))}) + (tmpl/render {:version (:full cf/version)}))}) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; FILE CHANGES