aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 28d51068b..9aadbe824 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -535,7 +535,7 @@ const ACTIVITY_PUB_ACTOR_TYPES: { [ id: string ]: ActivityPubActorType } = {
535const HTTP_SIGNATURE = { 535const HTTP_SIGNATURE = {
536 HEADER_NAME: 'signature', 536 HEADER_NAME: 'signature',
537 ALGORITHM: 'rsa-sha256', 537 ALGORITHM: 'rsa-sha256',
538 HEADERS_TO_SIGN: [ 'date', 'host', 'digest', '(request-target)' ] 538 HEADERS_TO_SIGN: [ '(request-target)', 'host', 'date', 'digest' ]
539} 539}
540 540
541// --------------------------------------------------------------------------- 541// ---------------------------------------------------------------------------