forked from forgejo/forgejo
Merge branch 'master' into feature-activitypub
This commit is contained in:
commit
07150b33ba
1441 changed files with 45132 additions and 28797 deletions
|
@ -13,17 +13,19 @@ import (
|
|||
// Federation settings
|
||||
var (
|
||||
Federation = struct {
|
||||
Enabled bool
|
||||
Algorithms []string
|
||||
DigestAlgorithm string
|
||||
GetHeaders []string
|
||||
PostHeaders []string
|
||||
Enabled bool
|
||||
ShareUserStatistics bool
|
||||
Algorithms []string
|
||||
DigestAlgorithm string
|
||||
GetHeaders []string
|
||||
PostHeaders []string
|
||||
}{
|
||||
Enabled: true,
|
||||
Algorithms: []string{"rsa-sha256", "rsa-sha512"},
|
||||
DigestAlgorithm: "SHA-256",
|
||||
GetHeaders: []string{"(request-target)", "Date"},
|
||||
PostHeaders: []string{"(request-target)", "Date", "Digest"},
|
||||
Enabled: true,
|
||||
ShareUserStatistics: true,
|
||||
Algorithms: []string{"rsa-sha256", "rsa-sha512"},
|
||||
DigestAlgorithm: "SHA-256",
|
||||
GetHeaders: []string{"(request-target)", "Date"},
|
||||
PostHeaders: []string{"(request-target)", "Date", "Digest"},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue