fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

redirect / to home assets when present #137

Closed WardCunningham closed 6 years ago

WardCunningham commented 6 years ago

We aspire to offer a safe and familiar welcome.

http://ward.asia.wiki.org/safe-and-familiar-welcome.html

With this pull request we enable site owners acting individually to customise the welcome page for their sites using normal html and css without privileged access to the server or cooperation with any other user. With the Assets plugin a site owner can upload arbitrary files to any subdirectory of assets. We reserve the home subdirectory for the purpose of defining specialized welcomes.

I've designed a specialized welcome for the start.fed.wiki site. Click index.html here where I explain my process to see the welcome displayed.

http://start.fed.wiki/making-the-welcome-page.html

With this wiki-server change installed my custom design will become the default welcome for the site. I've tested this locally by uploading the same html and css files to localhost.

image

WardCunningham commented 6 years ago

Travis CI error is timeout, probably unrelated to this code.

 Error: timeout of 2000ms exceeded. Ensure the done() callback is being called in this test.