Skip to content
Snippets Groups Projects
Commit b1536038 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] DOS silent start

parent 9179903d
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ module.exports = {
if (whitelist.indexOf('127.0.0.1') === -1) {
whitelist.push('127.0.0.1');
}
const ddosInstance = new ddos({ whitelist, silent: true });
const ddosInstance = new ddos({ whitelist, silentStart: true });
app.use(ddosInstance.express);
// CORS for **any** HTTP request
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment