mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
updated to use settings
updated handler/SocketIORouter.js to use new setting updated hooks/express.js to use new setting updated utils/Settings.js to accept new setting updated settings.json.template so new setting is present
This commit is contained in:
parent
6ea5efbcc3
commit
fb0bc31056
4 changed files with 20 additions and 7 deletions
|
@ -75,6 +75,10 @@ exports.restartServer = function () {
|
|||
next();
|
||||
});
|
||||
|
||||
if(settings.trustProxy){
|
||||
app.enable('trust proxy');
|
||||
}
|
||||
|
||||
app.configure(function() {
|
||||
hooks.callAll("expressConfigure", {"app": app});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue