tiddlyhost / tiddlyhost-com

Rails application for creating and hosting TiddlyWiki sites, plus resources for deploying it to https://tiddlyhost.com/
Other
184 stars 17 forks source link

In the TiddlySaver options there's no need to set Server URL to the full site url #228

Open simonbaird opened 2 years ago

simonbaird commented 2 years ago

It does need to be non-blank for the upload saver to be enabled, but I realized that just '/' works fine. So it can be hard coded as '/' and it would work fine for all sites.

There's no need to set it here: https://github.com/simonbaird/tiddlyhost/blob/main/rails/lib/th_file.rb#L77

And the docs at https://github.com/simonbaird/tiddlyhost/wiki/TiddlySpot-Saver-configuration-for-Tiddlyhost-and-Tiddlyspot can be simplified.