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:
Jeff Emmett 2026-04-15 17:02:59 -04:00
parent b2c2faee76
commit 992d974449
1 changed files with 1 additions and 1 deletions

View File

@ -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>',
}), }),
); );
}); });