mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-06 05:49:31 -06:00
worky worky quite contrerky
This commit is contained in:
parent
d09a8a1f05
commit
eb57c95c14
25 changed files with 544 additions and 216 deletions
|
|
@ -42,5 +42,6 @@ func New(config *config.Config, log *logrus.Logger) api.ClientModule {
|
|||
// Route attaches security middleware to the given router
|
||||
func (m *Module) Route(s router.Router) error {
|
||||
s.AttachMiddleware(m.FlocBlock)
|
||||
s.AttachMiddleware(m.ExtraHeaders)
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue