Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix invalid accept header

Chocobozzzdab0422bf7ec
diff --git a/packages/server-commands/src/requests/requests.ts b/packages/server-commands/src/requests/requests.ts
index 070d616105..f93979b0ae 100644
--- a/packages/server-commands/src/requests/requests.ts
+++ b/packages/server-commands/src/requests/requests.ts
@@ -96,7 +96,7 @@ export function makeActivityPubGetRequest (url: string, path: string, expectedSt
url,
path,
expectedStatus,
- accept: 'application/activity+json,text/html;q=0.9,\\*/\\*;q=0.8'
+ accept: 'application/activity+json,text/html;q=0.9,*/*;q=0.8'
})
}
@@ -104,7 +104,7 @@ export function makeActivityPubRawRequest (url: string, expectedStatus: HttpStat
return makeRawRequest({
url,
expectedStatus,
- accept: 'application/activity+json,text/html;q=0.9,\\*/\\*;q=0.8'
+ accept: 'application/activity+json,text/html;q=0.9,*/*;q=0.8'
})
}