w3c / wot-go

6 stars 9 forks source link

Add way to set document root for file server #2

Open hgfischer opened 9 years ago

hgfischer commented 9 years ago

Currently we do not have a way to load configuration, so I left the file server loading files from a relative www directory.

draggett commented 9 years ago

On 27 Jun 2015, at 14:31, Herbert Fischer notifications@github.com wrote:

Currently we do not have a way to load configuration, so I left the file server loading files from a relative www directory.

Good point. For the NodeJS server I introduced a config.js file with a view to supporting rich config settings. We have the path for the for the HTTP root folder. We also need to define the base URI for thing models registered for new things. Please feel free to create a way to manage the configuration settings.

— Dave Raggett <dsr@w3.org mailto:dsr@w3.org>

hgfischer commented 9 years ago

Ok. I will.