Need help making fresh, rutt and preact base path aware
I'm currently trying to make fresh base path aware. I already patched rutt to work with base paths. It currently works pretty okay. Now I need help with preact as I have no experience with preact. Is there a way to tell preact to add a base path to e.g. all relative links? E.g.:
<img src="/logo.svg" ...
<img src="/logo.svg" ...
from the jsx file should be 'compiled' to
<img src="/my_base_path/logo.svg" ...
<img src="/my_base_path/logo.svg" ...
. Or do we need to do this ourselves by adding a ${BASE_PATH} before all links?