Commit 9b20deb
fix(storybook): add base tag for /ui subpath URL resolution (#12)
The viteFinal config alone wasn't sufficient for subpath deployment.
Added <base href="/ui/"> to both manager-head.html and preview-head.html
to ensure all relative URLs resolve correctly.
Also fixed favicon path to be relative (works with base tag).
Fixes NEYN-8505
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent f9df42e commit 9b20deb
2 files changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
0 commit comments