mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-04 16:49:40 +00:00
i swear i already ran go fmt but apparently not
This commit is contained in:
parent
155ebda499
commit
1d23b2baff
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func UserAgentOrTeapot() gin.HandlerFunc {
|
|||
// so they're not instantiated every
|
||||
// time a request is processed.
|
||||
var (
|
||||
rsp = []byte(`{"error": "I'm a teapot: no user-agent sent with request"}`)
|
||||
rsp = []byte(`{"error": "I'm a teapot: no user-agent sent with request"}`)
|
||||
allowEmpty = config.GetInstanceAllowEmptyUserAgents()
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue