app.disabled()

app.disabled(name)

Returns true if the Boolean setting name is disabled (false), where name is one of the properties from the app settings table.

app.disabled('trust proxy');
// => true

app.enable('trust proxy');
app.disabled('trust proxy');
// => false
doc_Express
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.