diff --git a/core/config.js b/core/config.js index 5008e732..755cc56c 100644 --- a/core/config.js +++ b/core/config.js @@ -228,7 +228,7 @@ function getDefaultConfig() { http : { enabled : false, - port : 8080, + port : 8080, }, https : { enabled : false, diff --git a/core/servers/content/web.js b/core/servers/content/web.js index 70f2eb12..38e28442 100644 --- a/core/servers/content/web.js +++ b/core/servers/content/web.js @@ -62,7 +62,7 @@ exports.getModule = class WebServerModule extends ServerModule { this.addRoute({ method : 'GET', path : '/static/.*$', - handler : this.routeStaticFile, + handler : this.routeStaticFile.bind(this), }); } } diff --git a/docs/file_base.md b/docs/file_base.md index c35c0280..bfd802b9 100644 --- a/docs/file_base.md +++ b/docs/file_base.md @@ -80,10 +80,10 @@ Temporary web HTTP(S) URLs can be used to download files using the built in web See [Web Server](web_server.md) for more information. ## oputil -The `oputil.js` +op utilty `file-base` command has tools for managing file bases. For example, to import existing files found within **all** storage locations tied to an area: +The `oputil.js` +op utilty `fb` command has tools for managing file bases. For example, to import existing files found within **all** storage locations tied to an area and set tags `tag1` and `tag2` to each import: ```bash -oputil.js file-base --scan some_area +oputil.js fb scan some_area --tags tag1,tag2 ``` -See `oputil.js file-base --help` for additional information. \ No newline at end of file +See `oputil.js fb --help` for additional information. \ No newline at end of file