mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-11-30 16:19:16 +00:00
bee8458a2d
* feat: add rate limit middleware * chore: update vendor dir * chore: update readme with new dependency * chore: add rate limit infos to swagger.md file * refactor: add ipv6 mask limiter option Add IPv6 CIDR /64 mask * refactor: increase rate limit to 1000 Address https://github.com/superseriousbusiness/gotosocial/pull/741#discussion_r945584800 Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
25 lines
345 B
INI
25 lines
345 B
INI
root = true
|
|
|
|
[*]
|
|
end_of_line = lf
|
|
indent_size = 4
|
|
indent_style = space
|
|
insert_final_newline = true
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
|
|
[*.{yml,yaml}]
|
|
indent_size = 2
|
|
|
|
[*.go]
|
|
indent_size = 8
|
|
indent_style = tab
|
|
|
|
[*.json]
|
|
indent_size = 4
|
|
indent_style = space
|
|
|
|
[Makefile]
|
|
indent_style = tab
|
|
indent_size = 4
|