summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-05-05 13:47:22 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-05 11:47:22 +0000
commit6171dcbe5109d7accbf44f19c20c9f4a0ee5e06f (patch)
tree9011f0050571f5a8c1c0e7bd90b74b2816dadd8a /cmd
parent[frontend] Do optimistic update when approving/rejecting/suspending account (... (diff)
downloadgotosocial-6171dcbe5109d7accbf44f19c20c9f4a0ee5e06f.tar.xz
[feature] Add HTTP header permission section to frontend (#2893)
* [feature] Add HTTP header filter section to frontend * tweak naming a bit
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotosocial/action/testrig/testrig.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/gotosocial/action/testrig/testrig.go b/cmd/gotosocial/action/testrig/testrig.go
index 79361375b..24d41721a 100644
--- a/cmd/gotosocial/action/testrig/testrig.go
+++ b/cmd/gotosocial/action/testrig/testrig.go
@@ -165,6 +165,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
middlewares = append(middlewares, []gin.HandlerFunc{
middleware.Logger(config.GetLogClientIP()),
+ middleware.HeaderFilter(&state),
middleware.UserAgent(),
middleware.CORS(),
middleware.ExtraHeaders(),