Commit Graph
4 Commits
Author SHA1 Message Date
Florian Bezannier ac3ad20288 fix: home assistant proxy #1235
Use dash_app.get_asset_url() to ensure image paths respect the
X-Ingress-Path header (requests_pathname_prefix).

- Update all SVG image paths in control.py, figures.py, and views.py
  to use get_asset_url() instead of hardcoded 'assets/images/...' paths
- Add test_svg_images_with_ingress_path() to verify image paths
  contain the correct prefix when X-Ingress-Path header is present

Fixes issue where image paths were not prefixed in Home Assistant
ingress proxy setups.
2026-06-30 15:05:56 +02:00
Florian BezannierandFlorian BEZANNIER a31b9cf144 fix: proxy 2026-06-18 18:00:10 +02:00
Florian BezannierandFlorian BEZANNIER f33a0e6781 fix: ha ingress compat 2026-06-12 20:13:50 +02:00
Florian BezannierandFlorian BEZANNIER 955b4aae53 test: add ha test 2026-06-12 20:13:50 +02:00