mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-27 17:13:31 -06:00
[feature] Add HTTP header permission section to frontend (#2893)
* [feature] Add HTTP header filter section to frontend * tweak naming a bit
This commit is contained in:
parent
35b1c54bde
commit
6171dcbe51
27 changed files with 986 additions and 68 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue