更新 settings.js

This commit is contained in:
钟进 2019-02-03 00:01:28 +00:00
parent 738b27b98d
commit 6174c01eac

View File

@ -80,7 +80,7 @@ module.exports = {
// can be used. // can be used.
// The password must be an md5 hash eg.. 5f4dcc3b5aa765d61d8327deb882cf99 ('password') // The password must be an md5 hash eg.. 5f4dcc3b5aa765d61d8327deb882cf99 ('password')
//httpNodeAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"}, //httpNodeAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"},
httpNodeAuth: '%%node_auth%%', httpNodeAuth: '%%ui_auth%%',
// When httpAdminRoot is used to move the UI to a different root path, the // 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 // following property can be used to identify a directory of static content
@ -90,7 +90,7 @@ module.exports = {
// To password protect the static content, the following property can be used. // To password protect the static content, the following property can be used.
// The password must be an md5 hash eg.. 5f4dcc3b5aa765d61d8327deb882cf99 ('password') // The password must be an md5 hash eg.. 5f4dcc3b5aa765d61d8327deb882cf99 ('password')
//httpStaticAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"}, //httpStaticAuth: {user:"user",pass:"5f4dcc3b5aa765d61d8327deb882cf99"},
httpStaticAuth: '%%ui_auth%%', //httpStaticAuth: '%%ui_auth%%',
// The following property can be used in place of 'httpAdminRoot' and 'httpNodeRoot', // The following property can be used in place of 'httpAdminRoot' and 'httpNodeRoot',
// to apply the same root to both parts. // to apply the same root to both parts.