mirror of
1
Fork 0

temp deactivate security

This commit is contained in:
Michael Jerger 2023-11-03 17:45:21 +01:00
parent b7082b7e98
commit fe6f625923
1 changed files with 3 additions and 1 deletions

View File

@ -896,7 +896,9 @@ func Routes() *web.Route {
}, context_service.UserIDAssignmentAPI()) }, context_service.UserIDAssignmentAPI())
m.Group("/repository-id/{repository-id}", func() { m.Group("/repository-id/{repository-id}", func() {
m.Get("", activitypub.Repository) m.Get("", activitypub.Repository)
m.Post("/inbox", activitypub.ReqHTTPSignature(), activitypub.RepositoryInbox) m.Post("/inbox",
//activitypub.ReqHTTPSignature(),
activitypub.RepositoryInbox)
}, context_service.RepositoryIDAssignmentAPI()) }, context_service.RepositoryIDAssignmentAPI())
}, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub)) }, tokenRequiresScopes(auth_model.AccessTokenScopeCategoryActivityPub))
} }