mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
21
packages/node_modules/node-red/settings.js
vendored
21
packages/node_modules/node-red/settings.js
vendored
@@ -137,6 +137,8 @@ module.exports = {
|
||||
* - httpNodeCors
|
||||
* - httpNodeMiddleware
|
||||
* - httpStatic
|
||||
* - httpStaticRoot
|
||||
* - httpStaticCors
|
||||
******************************************************************************/
|
||||
|
||||
/** the tcp port that the Node-RED web server is listening on */
|
||||
@@ -218,8 +220,25 @@ module.exports = {
|
||||
/** When httpAdminRoot is used to move the UI to a different root path, the
|
||||
* following property can be used to identify a directory of static content
|
||||
* that should be served at http://localhost:1880/.
|
||||
* When httpStaticRoot is set differently to httpAdminRoot, there is no need
|
||||
* to move httpAdminRoot
|
||||
*/
|
||||
//httpStatic: '/home/nol/node-red-static/',
|
||||
//httpStatic: '/home/nol/node-red-static/', //single static source
|
||||
/* OR multiple static sources can be created using an array of objects... */
|
||||
//httpStatic: [
|
||||
// {path: '/home/nol/pics/', root: "/img/"},
|
||||
// {path: '/home/nol/reports/', root: "/doc/"},
|
||||
//],
|
||||
|
||||
/**
|
||||
* All static routes will be appended to httpStaticRoot
|
||||
* e.g. if httpStatic = "/home/nol/docs" and httpStaticRoot = "/static/"
|
||||
* then "/home/nol/docs" will be served at "/static/"
|
||||
* e.g. if httpStatic = [{path: '/home/nol/pics/', root: "/img/"}]
|
||||
* and httpStaticRoot = "/static/"
|
||||
* then "/home/nol/pics/" will be served at "/static/img/"
|
||||
*/
|
||||
//httpStaticRoot: '/static/',
|
||||
|
||||
/*******************************************************************************
|
||||
* Runtime Settings
|
||||
|
Reference in New Issue
Block a user