WWW folder files and html pages

Hello,
how to get url to files inside www folder like this one http://homeassistant.local:8123/api/hassio_ingress/RANDOM STRING/api/file?filename=/config/www/image.jpg?

Is it possible to store an html page in www folder or somewhere else and then access this file via a weblink or rest command?

Thank you

Anything in /config/www appears at http://yourhassaddress:8123/local, so your pic should be at http://homeassistant.local:8123/local/image.jpg

2 Likes

So simple, thank you!

u cannot use hassio_ingress/randomstring it will stop working on browser close/open./…

thank you - 2 years and still best/simple answer. Happy new year