fix(rcred): add cache-bust version to dashboard script tag
Cloudflare was serving stale HTML with old /dist/ path. Add ?v=1 to force fresh load. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
b2c2faee76
commit
992d974449
|
|
@ -38,7 +38,7 @@ routes.get('/', (c) => {
|
||||||
moduleId: 'rcred',
|
moduleId: 'rcred',
|
||||||
modules: getModuleInfoList(),
|
modules: getModuleInfoList(),
|
||||||
body: `<folk-cred-dashboard space="${space || 'demo'}"></folk-cred-dashboard>`,
|
body: `<folk-cred-dashboard space="${space || 'demo'}"></folk-cred-dashboard>`,
|
||||||
scripts: '<script type="module" src="/modules/rcred/folk-cred-dashboard.js"></script>',
|
scripts: '<script type="module" src="/modules/rcred/folk-cred-dashboard.js?v=1"></script>',
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue