Commit 040cbbe
committed
fix(viewer): load the bundle from its actual dist path
The server resolves app assets as dist/$app-$name, so requesting
'viewer-init' for the viewer app looked for dist/viewer-viewer-init.mjs.
The frontend build emits dist/viewer-init.mjs, so the bundle was never
served and the viewer never initialised.
The old name was correct while the app built into its own js/ folder as a
separate repository; under the shared frontend build the app name is
already part of the file name.
Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>1 parent c242da6 commit 040cbbe
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
0 commit comments