From 13b587cf62aa8caf8826bbf85c9846e287a2e4af Mon Sep 17 00:00:00 2001
From: fowr <89118232+perdedora@users.noreply.github.com>
Date: Tue, 20 Aug 2024 21:27:22 -0300
Subject: [PATCH] add resource_version to avoid cache.
---
inc/secrets.php | 6 ++++++
templates/header.html | 6 +++---
templates/mod/ban_list.html | 2 +-
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/inc/secrets.php b/inc/secrets.php
index b3d9bbc7..e7c4efc1 100644
--- a/inc/secrets.php
+++ b/inc/secrets.php
@@ -1 +1,7 @@
+
{% if config.url_favicon %}{% endif %}
@@ -12,9 +12,9 @@
var modRoot = "{{ config.root }}" + (inMod ? "mod.php?/" : "");
{% if not nojavascript %}
-
+
{% if not config.additional_javascript_compile %}
- {% for javascript in config.additional_javascript %}{% endfor %}
+ {% for javascript in config.additional_javascript %}{% endfor %}
{% endif %}
{% if mod %}
diff --git a/templates/mod/ban_list.html b/templates/mod/ban_list.html
index 0c67f269..f039350b 100644
--- a/templates/mod/ban_list.html
+++ b/templates/mod/ban_list.html
@@ -1,4 +1,4 @@
-
+