mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 08:02:26 -05:00
federated authentication better logging + tidying (#232)
* change trace logging in authenticator * messing about * lil changes * go fmt * error fix * Fix broken test
This commit is contained in:
parent
2e5dcc2929
commit
92186c8c6f
13 changed files with 134 additions and 123 deletions
|
|
@ -61,13 +61,6 @@ const (
|
|||
UsersStatusRepliesPath = UsersStatusPath + "/replies"
|
||||
)
|
||||
|
||||
// ActivityPubAcceptHeaders represents the Accept headers mentioned here:
|
||||
// https://www.w3.org/TR/activitypub/#retrieving-objects
|
||||
var ActivityPubAcceptHeaders = []string{
|
||||
`application/activity+json`,
|
||||
`application/ld+json; profile="https://www.w3.org/ns/activitystreams"`,
|
||||
}
|
||||
|
||||
// Module implements the FederationAPIModule interface
|
||||
type Module struct {
|
||||
config *config.Config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue