mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
readme update, env variable for disabling https
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"publicdirs": ["publicDirs/qminingPublic/"],
|
||||
"nextdir": "nextStatic/dataEditorPublic",
|
||||
"name": "dataeditor",
|
||||
"route": "/data-editor",
|
||||
"route": "/dataeditor",
|
||||
"isNextJs": true
|
||||
},
|
||||
"qmining": {
|
||||
|
@@ -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