From 74e6a1310bf1029b8e7bf34c7b75a8ee425e3f21 Mon Sep 17 00:00:00 2001 From: Kumi Date: Wed, 19 Jun 2024 09:33:31 +0200 Subject: [PATCH] fix(preview.html): correct back to parent directory link Updated the "Back to Parent Directory" link to handle file paths starting with a slash. This adjustment ensures the URL is properly constructed, preventing broken links and enhancing navigation usability in the preview view. --- src/gitcloak/templates/preview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gitcloak/templates/preview.html b/src/gitcloak/templates/preview.html index 4b07841..4714adc 100644 --- a/src/gitcloak/templates/preview.html +++ b/src/gitcloak/templates/preview.html @@ -7,7 +7,7 @@

{{ owner }}/{{ repo }} - {{ file_path }}