fix: prevent stale mastodon instance config from cache

This commit is contained in:
2026-07-08 07:21:48 +04:00
parent 9a017f5479
commit 05d01fb7bc
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -676,7 +676,7 @@ setSecurityHeaders();
<script src="js/main.js"></script>
<script src="js/pleroma-adapter.js"></script>
<script src="js/mastodon-timeline.umd.js"></script>
<script src="js/mastodon-config.php"></script>
<script src="js/mastodon-config.php?v=<?php echo md5(MASTODON_INSTANCE_URL . MASTODON_DATE_FORMAT . MASTODON_BTN_SEE_MORE . MASTODON_BTN_RELOAD . MASTODON_MAX_POST_FETCH . MASTODON_MAX_POST_SHOW); ?>"></script>
<!-- PWA Service Worker -->
<script>