mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-18 10:37:29 -06:00
[bugfix] Use SignatureCheck middleware for web profile endpoints too (#1451)
This commit is contained in:
parent
0ed50c172e
commit
4e4da19720
3 changed files with 30 additions and 29 deletions
|
|
@ -191,7 +191,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
|
|||
wellKnownModule = api.NewWellKnown(processor) // .well-known endpoints
|
||||
nodeInfoModule = api.NewNodeInfo(processor) // nodeinfo endpoint
|
||||
activityPubModule = api.NewActivityPub(dbService, processor) // ActivityPub endpoints
|
||||
webModule = web.New(processor) // web pages + user profiles + settings panels etc
|
||||
webModule = web.New(dbService, processor) // web pages + user profiles + settings panels etc
|
||||
)
|
||||
|
||||
// create required middleware
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
|
|||
wellKnownModule = api.NewWellKnown(processor) // .well-known endpoints
|
||||
nodeInfoModule = api.NewNodeInfo(processor) // nodeinfo endpoint
|
||||
activityPubModule = api.NewActivityPub(dbService, processor) // ActivityPub endpoints
|
||||
webModule = web.New(processor) // web pages + user profiles + settings panels etc
|
||||
webModule = web.New(dbService, processor) // web pages + user profiles + settings panels etc
|
||||
)
|
||||
|
||||
// these should be routed in order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue