Force express server to run in production mode
This commit is contained in:
parent
010ddab78e
commit
de028e5dd8
@ -46,6 +46,7 @@ module.exports = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const app = express()
|
const app = express()
|
||||||
|
.set("env", "production")
|
||||||
.disable("x-powered-by")
|
.disable("x-powered-by")
|
||||||
.use(allRequests)
|
.use(allRequests)
|
||||||
.use(index)
|
.use(index)
|
||||||
|
Loading…
Reference in New Issue
Block a user