fix(rcred): correct script path — /modules/ not /dist/modules/
serveStatic resolves relative to dist/, so /dist/modules/ doubled the prefix and 404'd. All other modules use /modules/rcred/file.js. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
123d61109e
commit
b2c2faee76
|
|
@ -38,7 +38,7 @@ routes.get('/', (c) => {
|
|||
moduleId: 'rcred',
|
||||
modules: getModuleInfoList(),
|
||||
body: `<folk-cred-dashboard space="${space || 'demo'}"></folk-cred-dashboard>`,
|
||||
scripts: '<script type="module" src="/dist/modules/rcred/folk-cred-dashboard.js"></script>',
|
||||
scripts: '<script type="module" src="/modules/rcred/folk-cred-dashboard.js"></script>',
|
||||
}),
|
||||
);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue