Open pvgenuchten opened 2 years ago
It's working at least with a non-root path:
[[webserver.static]]
path = "/static"
dir = "./public/"
favicon link in index.html:
<link rel="icon" href="/static/favicon.ico" />
I'll check whether it's also possible with path /
I tried replacing favicon.ico by placing it in a folder /tmp then in config reference the static folder as
/tmp
and path/
favicon gets correctly replaced, but a side-effect is that any other path outside static, returns 404:localhost:6767/
renders 404 not found, butlocalhost:6767/index.html
works finelocalhost:6767/config.json
renders 404