mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2026-04-28 11:17:38 +02:00
readme update, env variable for disabling https
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ if (certsLoaded) {
|
||||
logger.Log('Https not avaible', 'yellowbg')
|
||||
}
|
||||
|
||||
if (!process.env.NS_DEVEL) {
|
||||
if (!process.env.NS_NO_HTTPS_FORCE) {
|
||||
app.use(function (req, res, next) {
|
||||
if (req.secure) {
|
||||
next()
|
||||
|
||||
Reference in New Issue
Block a user