From 2e803c083828f23ad20991eb792ff307bd0f953c Mon Sep 17 00:00:00 2001 From: Matthew Bernhardt Date: Mon, 30 Jun 2025 10:31:35 -0400 Subject: [PATCH] Experiment with alert cache busting --- web/app/themes/mitlib-parent/js/alerts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/themes/mitlib-parent/js/alerts.js b/web/app/themes/mitlib-parent/js/alerts.js index ae8c4444..f4b70802 100644 --- a/web/app/themes/mitlib-parent/js/alerts.js +++ b/web/app/themes/mitlib-parent/js/alerts.js @@ -119,7 +119,7 @@ $(function(){ // This retrieves a list of posts, with additional parsing to determine if // any are displayable alerts. - $.getJSON('/wp-json/wp/v2/posts') + $.getJSON('/wp-json/wp/v2/posts', {_: new Date().getTime()}) .done(function(data){ showAlerts(data); });