Update index.js

This commit is contained in:
Jairo 2019-07-02 15:32:18 +02:00 committed by GitHub
parent ac3e717c32
commit 0d85c45f47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ function ExpressPeerServer (server, options) {
}; };
if (options.proxied) { if (options.proxied) {
app.set('trust proxy', options.proxied); app.set('trust proxy', options.proxied === 'false' ? false : options.proxied);
} }
app.on('mount', () => { app.on('mount', () => {