mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 06:44:50 +00:00
f2a38960fc
It's a bit gross that we have to change the filename used to reference the JS file. This is to make it work with the webserver. At the moment, the webserver exposes system tiddlers as plain text renderings, and ordinary tiddlers as full HTML renderings through a view template. So we have to use a system tiddler title for the JS file. The workaround I'm thinking of is to remove the blanket exposure of system tiddlers, and instead have a list of system tiddlers that are specifically exposed through a namespace like `127.0.0.1:8080\lib\tiddlywiki.js`. That can't clash with a tiddler title because tiddler titles are URI encoded and so can't contain slashes. |
||
---|---|---|
.. | ||
save-all-external-js.tid | ||
tiddlywiki5-external-js.html.tid | ||
tiddlywiki.js.tid | ||
tiddlywiki.js.tiddlers.tid |