This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Using a custom path prefix with the client-server edition

 12th September 2014 at 2:16pm

By default, when running TiddlyWiki on Node.js, the server exposes the wiki at the URI formed from the protocol, host and port - for example, http://127.0.0.1:8080/.

There are two steps to running the wiki at a custom path like http://127.0.0.1:8080/path/to/my/wiki/:

  1. Configure the server by passing /path/to/my/wiki as the pathprefix argument of the ServerCommand
  2. Configure the client by creating a tiddler called $:/config/tiddlyweb/host that contains $protocol$//$host$/path/to/my/wiki/