forked from svrjs/svrjs
Fix an error in previous commit
This commit is contained in:
parent
2ab7fab9cf
commit
dc23125ce4
1 changed files with 1 additions and 1 deletions
2
svr.js
2
svr.js
|
@ -1147,7 +1147,7 @@ if (configJSON.disableUnusedWorkerTermination != undefined) disableUnusedWorkerT
|
||||||
if (configJSON.rewriteDirtyURLs != undefined) rewriteDirtyURLs = configJSON.rewriteDirtyURLs;
|
if (configJSON.rewriteDirtyURLs != undefined) rewriteDirtyURLs = configJSON.rewriteDirtyURLs;
|
||||||
if (configJSON.errorPages != undefined) errorPages = configJSON.errorPages;
|
if (configJSON.errorPages != undefined) errorPages = configJSON.errorPages;
|
||||||
if (configJSON.useWebRootServerSideScript != undefined) useWebRootServerSideScript = configJSON.useWebRootServerSideScript;
|
if (configJSON.useWebRootServerSideScript != undefined) useWebRootServerSideScript = configJSON.useWebRootServerSideScript;
|
||||||
if (configJSON.exposeModsInErrorPages != undefined) exposeServerVersion = configJSON.exposeModsInErrorPages;
|
if (configJSON.exposeModsInErrorPages != undefined) exposeModsInErrorPages = configJSON.exposeModsInErrorPages;
|
||||||
if (configJSON.wwwroot != undefined) {
|
if (configJSON.wwwroot != undefined) {
|
||||||
var wwwroot = configJSON.wwwroot;
|
var wwwroot = configJSON.wwwroot;
|
||||||
if (cluster.isPrimary || cluster.isPrimary === undefined) process.chdir(wwwroot);
|
if (cluster.isPrimary || cluster.isPrimary === undefined) process.chdir(wwwroot);
|
||||||
|
|
Reference in a new issue