FE: Specify public_cdn_path in new index.html (#106662)

This commit is contained in:
Josh Hunt
2025-06-13 08:28:53 +02:00
committed by GitHub
parent d205d27f9d
commit 129ec01cd0
+4
View File
@@ -53,6 +53,10 @@
window.nonce = '[[.Nonce]]';
[[end]]
[[if .Assets.ContentDeliveryURL]]
window.public_cdn_path = '[[.Assets.ContentDeliveryURL]]public/build/';
[[end]]
window.__grafana_load_failed = function(...args) {
console.error('Failed to load Grafana', ...args);
};