mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-03-14 22:48:35 +03:00
Fix go lint warning
This commit is contained in:
parent
5f13d4ab4a
commit
11d65330a0
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ func optionalAuth(handler func(http.ResponseWriter, *http.Request)) func(http.Re
|
|||
}
|
||||
}
|
||||
|
||||
} else if strings.HasPrefix(r.URL.Path,"/assets/") ||
|
||||
} else if strings.HasPrefix(r.URL.Path, "/assets/") ||
|
||||
strings.HasPrefix(r.URL.Path, "/login.") ||
|
||||
strings.HasPrefix(r.URL.Path, "/__locales/") {
|
||||
// process as usual
|
||||
|
|
Loading…
Add table
Reference in a new issue