I have built a TW in node.js and all works as I expect. The images are stored in a files
folder alongside the wiki where it runs locally.
Now I have exported the whole wiki using the method here Publishing TW to the web from node.js uploaded the index.html to some webspace and copied across the files
folder so it sits alongside.
The images are not showing. When I inspect the html the url to the image is mangled like this https://www.mydomain.com/test/.\files\myimage.jpg which of course should be https://www.mydomain.com/test/files/myimage.jpg
It is like it still thinks the files are local!?
This is my export command;
tiddlywiki --render "." "index.html" "text/plain" "$:/core/save/all" "publishFilter" "-\[\[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]]"
There has been some previous discussion on this _canonical_uri field fails but the previous solution must have worked as the export I made in 2023 still works.
Anyone any idea what has changed and how to fix it?
Thanks.