forked from svrjs/svrjs
Fix the code for "${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected" message
This commit is contained in:
parent
ff66e26af0
commit
9b01d46907
1 changed files with 1 additions and 1 deletions
|
@ -1786,7 +1786,7 @@ function start(init) {
|
||||||
serverconsole.locwarnmessage(
|
serverconsole.locwarnmessage(
|
||||||
"Can't load OCSP module. OCSP stapling will be disabled. OCSP stapling is a security feature that improves the performance and security of HTTPS connections by caching the certificate status response. If you require this feature, consider updating your Node.JS version or checking for any issues with the 'ocsp' module.",
|
"Can't load OCSP module. OCSP stapling will be disabled. OCSP stapling is a security feature that improves the performance and security of HTTPS connections by caching the certificate status response. If you require this feature, consider updating your Node.JS version or checking for any issues with the 'ocsp' module.",
|
||||||
);
|
);
|
||||||
if (process.serverConfig.disableMods)
|
if (disableMods)
|
||||||
serverconsole.locwarnmessage(
|
serverconsole.locwarnmessage(
|
||||||
`${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected`,
|
`${name} is running without mods and server-side JavaScript enabled. Web applications may not work as expected`,
|
||||||
);
|
);
|
||||||
|
|
Reference in a new issue