mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-23 13:32:57 -06:00
[chore] skip trusted-proxies warning if ip excepted from rate limiting (#3699)
* [chore] skip `trusted-proxies` warning if ip excepted from rate limiting * weep * typo * fix env parsing test
This commit is contained in:
parent
726d2ba483
commit
9048290948
10 changed files with 195 additions and 67 deletions
|
|
@ -65,6 +65,7 @@ func main() {
|
|||
fmt.Fprint(output, license)
|
||||
fmt.Fprint(output, "package config\n\n")
|
||||
fmt.Fprint(output, "import (\n")
|
||||
fmt.Fprint(output, "\t\"net/netip\"\n")
|
||||
fmt.Fprint(output, "\t\"time\"\n\n")
|
||||
fmt.Fprint(output, "\t\"codeberg.org/gruf/go-bytesize\"\n")
|
||||
fmt.Fprint(output, "\t\"github.com/superseriousbusiness/gotosocial/internal/language\"\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue