From 7f229a3d6e015eefca3f6b1c6c22c8e11d604084 Mon Sep 17 00:00:00 2001 From: sb745 Date: Tue, 4 Mar 2025 22:04:59 +0200 Subject: [PATCH] Added commit hash in config file --- config.example.py | 3 +++ nyaa/templates/layout.html | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config.example.py b/config.example.py index 6904e4b..014e0e8 100644 --- a/config.example.py +++ b/config.example.py @@ -231,3 +231,6 @@ CACHE_THRESHOLD = 8192 # To actually make this work across multiple worker processes, use redis # RATELIMIT_STORAGE_URL="redis://host:port" RATELIMIT_KEY_PREFIX="nyaaratelimit_" + +# Use this to show the commit hash in the footer (see layout.html) +# COMMIT_HASH="[enter your commit hash here]"; \ No newline at end of file diff --git a/nyaa/templates/layout.html b/nyaa/templates/layout.html index 029b1e3..96462d3 100644 --- a/nyaa/templates/layout.html +++ b/nyaa/templates/layout.html @@ -331,7 +331,7 @@