set host header
This commit is contained in:
Vendored
+2
-1
@@ -7000,7 +7000,8 @@ class Deployment {
|
|||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/vnd.github.v3+json',
|
Accept: 'application/vnd.github.v3+json',
|
||||||
Authorization: `Bearer ${this.githubToken}`,
|
Authorization: `Bearer ${this.githubToken}`,
|
||||||
'Content-type': 'application/json'
|
'Content-type': 'application/json',
|
||||||
|
Host: 'api.github.com'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.requestedDeployment = true
|
this.requestedDeployment = true
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-1
@@ -67,7 +67,8 @@ class Deployment {
|
|||||||
headers: {
|
headers: {
|
||||||
Accept: 'application/vnd.github.v3+json',
|
Accept: 'application/vnd.github.v3+json',
|
||||||
Authorization: `Bearer ${this.githubToken}`,
|
Authorization: `Bearer ${this.githubToken}`,
|
||||||
'Content-type': 'application/json'
|
'Content-type': 'application/json',
|
||||||
|
Host: 'api.github.com'
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
this.requestedDeployment = true
|
this.requestedDeployment = true
|
||||||
|
|||||||
Reference in New Issue
Block a user