network: add trusted ips

This allows the user to set trusted ips to Cloudflare or some other CDN
and have the logs have the correct IPs.

fixes #801
This commit is contained in:
Girish Ramakrishnan
2023-05-13 14:59:57 +02:00
parent 951ed4bf33
commit b26c8d20cd
13 changed files with 228 additions and 54 deletions

View File

@@ -2,7 +2,7 @@
exports = module.exports = {
getBlocklist,
setBlocklist
setBlocklist,
};
const assert = require('assert'),