lint again

This commit is contained in:
Motiejus Jakštys 2024-11-21 20:15:07 +02:00
parent ddb1370c73
commit c0c383359f

View file

@ -946,7 +946,7 @@ func isSafeServerURL(serverURL, baseDomain string) error {
s := len(serverDomainParts) s := len(serverDomainParts)
b := len(baseDomainParts) b := len(baseDomainParts)
for i := range 0..len(baseDomainParts) { for i := range len(baseDomainParts) {
if serverDomainParts[s-i-1] != baseDomainParts[b-i-1] { if serverDomainParts[s-i-1] != baseDomainParts[b-i-1] {
return nil return nil
} }