mirror of
https://github.com/binwiederhier/ntfy.git
synced 2024-12-22 17:52:30 +01:00
fix lint
This commit is contained in:
parent
3b29294679
commit
4edc625331
1 changed files with 1 additions and 3 deletions
|
@ -217,9 +217,7 @@ func execServe(c *cli.Context) error {
|
|||
log.Warn("cannot resolve host %s: %s, ignoring visitor request exemption", host, err.Error())
|
||||
continue
|
||||
}
|
||||
for _, ip := range ips {
|
||||
visitorRequestLimitExemptIPs = append(visitorRequestLimitExemptIPs, ip)
|
||||
}
|
||||
visitorRequestLimitExemptIPs = append(visitorRequestLimitExemptIPs, ips...)
|
||||
}
|
||||
|
||||
// Run server
|
||||
|
|
Loading…
Reference in a new issue