disable cachebuster to show local media
Sonarqube Scanner / Build and analyze (push) Successful in 1m13s

This commit is contained in:
Florian Zumpe
2026-09-27 19:52:14 +02:00
parent 3cdad9caa5
commit 98a7293efd
3 changed files with 130 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@
function mediaUrl(url) {
if (!url) return '';
if (url.startsWith('data:') || url.startsWith('blob:')) return url;
const separator = url.includes('?') ? '&' : '?';
return `${url}${separator}v=${Date.now()}`;
}