app.enable(name)
Sets the Boolean setting name
to true
, where name
is one of the properties from the app settings table. Calling app.set('foo', true)
for a Boolean property is the same as calling app.enable('foo')
.
1 2 3 | app.enable( 'trust proxy' ); app.get( 'trust proxy' ); // => true |
Please login to continue.