Commit 12a272e
Fix 404 Not Found error for Ingress dashboard access
The issue was that Home Assistant Ingress routes to root (/) but
the dashboard was only available on /mcp-dashboard, causing 404.
Changes:
- Serve dashboard HTML directly on root route (/) for Ingress
- Keep /mcp-dashboard route for backwards compatibility
- Extract dashboard HTML into reusable function
- Fix syntax error in HTML template
Now both Ingress access and direct URL access work properly.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 39cdb23 commit 12a272e
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | | - | |
| 61 | + | |
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
0 commit comments