fix: GH LFS doesn’t seem to like IsoGit’s UA…
This commit is contained in:
parent
baabc36e7c
commit
9250c7d862
1 changed files with 2 additions and 1 deletions
|
@ -46,7 +46,8 @@ export default async function downloadBlobFromPointer(
|
||||||
url: `${url}/info/lfs/objects/batch`,
|
url: `${url}/info/lfs/objects/batch`,
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'User-Agent': `git/isomorphic-git@${git.version()}`,
|
// Github LFS doesn’t seem to accept this UA :(
|
||||||
|
// 'User-Agent': `git/isomorphic-git@${git.version()}`,
|
||||||
...headers,
|
...headers,
|
||||||
'Accept': 'application/vnd.git-lfs+json',
|
'Accept': 'application/vnd.git-lfs+json',
|
||||||
'Content-Type': 'application/vnd.git-lfs+json',
|
'Content-Type': 'application/vnd.git-lfs+json',
|
||||||
|
|
Loading…
Reference in a new issue