Oh, sorry I didn't realise I missed your question in the previous post. Or 
that I haven't written documentation for this part yet. I will try to get 
to that tonight. I am not somewhere I can check to make sure that all of 
this is correct, so let me know if it doesn't work. You will have to 
restart the server after adding the filePathRoot to settings.json.


To server files you add a property to settings.json called 'filePathRoot' 
and give it the value that you want for the root folder for the files you 
want accessible to the wiki.


Something like:

"filePathRoot": "C:\Users\Mark\WikiFiles"

and then any files in that folder are served under the wikiurl/file/filename

where wikiurl is whatever the url of your root wiki is and filename is the 
name of the file you want.

By default to get a file called foo.jpg that you put in 
c:\Users\Mark\WikiFiles on the computer running the server it would be 

localhost:8080/file/foo.jpg

and you could use that url the same as you would for any other external 
image.

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9d8c27df-1700-4400-8693-d7d807b1c485%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to