Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@

WHITELIST_WILDCARD: {},

IGNORE_DOMAINS_RE: [
/^https?:\/\/\d+\.\d+\.\d+\.\d+/i, // Includes localhost and local network, AWS metadata services, etc.
/^https?:\/\/localhost/i,
/^https?:\/\/[^\/]+:\d+\/?/, // Blocks port-scan via DNS pointing to 127.0.0.1
],

// Default cache engine to prevent warning.
CACHE_ENGINE: 'node-cache',
CACHE_TTL: 24 * 60 * 60,
Expand Down
Loading