1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Remove content type for raw requests

This commit is contained in:
Chocobozzz 2022-11-15 16:55:57 +01:00
parent 27744d8e56
commit e57a840ede
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -33,6 +33,7 @@ function makeRawRequest (options: {
return makeGetRequest({
url: `${protocol}//${host}`,
path: pathname,
contentType: undefined,
...pick(options, [ 'expectedStatus', 'range', 'token', 'query' ])
})