diff options
| author | 2025-04-09 16:32:13 +0000 | |
|---|---|---|
| committer | 2025-04-09 17:32:13 +0100 | |
| commit | b1a4d54c14647827aaf3c8174e2896b12d0f9608 (patch) | |
| tree | a66cbe831407565a6b7af421c5e659e08fd7306c /internal/api/util/template.go | |
| parent | [bugfix] Fix a couple accessibility issues with `:focus` elements (#3979) (diff) | |
| download | gotosocial-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.go | 2 |
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 |
