summaryrefslogtreecommitdiff
path: root/internal/api/util/template.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2025-04-09 16:32:13 +0000
committerLibravatar GitHub <noreply@github.com>2025-04-09 17:32:13 +0100
commitb1a4d54c14647827aaf3c8174e2896b12d0f9608 (patch)
treea66cbe831407565a6b7af421c5e659e08fd7306c /internal/api/util/template.go
parent[bugfix] Fix a couple accessibility issues with `:focus` elements (#3979) (diff)
downloadgotosocial-b1a4d54c14647827aaf3c8174e2896b12d0f9608.tar.xz
[chore] add IPPrefixes type so we don't need separate rate limit parsed field (#3982)
* add IPPrefixes type so we don't need separate rate limit parsed field * sshhhh please linter, mommy's working
Diffstat (limited to 'internal/api/util/template.go')
-rw-r--r--internal/api/util/template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/util/template.go b/internal/api/util/template.go
index 38e79484f..86d179cdc 100644
--- a/internal/api/util/template.go
+++ b/internal/api/util/template.go
@@ -171,7 +171,7 @@ func injectTrustedProxiesRec(
return
}
- except := config.GetAdvancedRateLimitExceptionsParsed()
+ except := config.GetAdvancedRateLimitExceptions()
for _, prefix := range except {
if prefix.Contains(ip) {
// This ip is exempt from