You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i read on the internet that you can use helmet and mongoose's sanitizer this way:
app.use(helmet({
sanitizeFilter: true,
}));
but i can't find it in your documentation. so i'm guessing if this is true and if it works the same way of mongoose.set("sanitizeFilter", true);.
thank you very much in advance for your reply
The text was updated successfully, but these errors were encountered:
mejrimo
changed the title
helmet + sanitizerFilter
helmet + sanitizeFilter
Oct 12, 2023
i read on the internet that you can use helmet and mongoose's sanitizer this way:
app.use(helmet({
sanitizeFilter: true,
}));
but i can't find it in your documentation. so i'm guessing if this is true and if it works the same way of mongoose.set("sanitizeFilter", true);.
thank you very much in advance for your reply
The text was updated successfully, but these errors were encountered: