Revert "feat: header based acls (#337)"

This reverts commit f0d2da281a.
This commit is contained in:
Stavros
2025-09-03 12:01:33 +03:00
committed by GitHub
parent f0d2da281a
commit c9817e7feb
10 changed files with 51 additions and 355 deletions

View File

@@ -46,8 +46,6 @@ func GetBasicAuth(username string, password string) string {
}
func FilterIP(filter string, ip string) (bool, error) {
filter = strings.Replace(filter, "-", "/", -1)
ipAddr := net.ParseIP(ip)
if strings.Contains(filter, "/") {