script cache fix

This commit is contained in:
techartdev
2026-02-20 18:47:00 +02:00
parent ad97326509
commit 29736d9147
5 changed files with 21 additions and 8 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
(async () => {
try {
if (!customElements.get("openclaw-chat-card")) {
await import("/openclaw/openclaw-chat-card.js");
const src = "/openclaw/openclaw-chat-card.js?v=0.1.20";
console.info("OpenClaw loader importing", src);
await import(src);
}
} catch (err) {
console.error("OpenClaw: failed to load chat card bundle from /openclaw/openclaw-chat-card.js", err);