Commit 20613d07 authored by nanahira's avatar nanahira

hide allowedIPs in get

parent c73a9244
Pipeline #369 passed with stages
in 5 minutes and 57 seconds
......@@ -41,8 +41,10 @@ export class Selector {
const groups = this.config.groups.filter(g => testRange(addr, g.allowedIPs)).map(g => _.clone(g));
for (let group of groups) {
const sets = group.sets.filter(s => testRange(addr, s.allowedIPs)).map(s => _.clone(s));
group.allowedIPs = null;
for (let set of sets) {
set.here = await IPSetHelper.test(set.setname, addr);
set.allowedIPs = null;
}
group.sets = sets;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment