mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-08 17:26:42 +02:00
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()
|
||||
.set("env", "production")
|
||||
.disable("x-powered-by")
|
||||
.use(allRequests)
|
||||
.use(index)
|
||||
|
|
Loading…
Reference in a new issue