Update index.js
This commit is contained in:
parent
ac3e717c32
commit
0d85c45f47
@ -63,7 +63,7 @@ function ExpressPeerServer (server, options) {
|
||||
};
|
||||
|
||||
if (options.proxied) {
|
||||
app.set('trust proxy', options.proxied);
|
||||
app.set('trust proxy', options.proxied === 'false' ? false : options.proxied);
|
||||
}
|
||||
|
||||
app.on('mount', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user