set host header

This commit is contained in:
Jess Bees
2022-11-16 12:31:22 -05:00
parent 88e44eb7c2
commit 4c4a9146cc
3 changed files with 5 additions and 3 deletions

3
dist/index.js vendored
View File

@@ -7000,7 +7000,8 @@ class Deployment {
headers: {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${this.githubToken}`,
'Content-type': 'application/json'
'Content-type': 'application/json',
Host: 'api.github.com'
}
})
this.requestedDeployment = true

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -67,7 +67,8 @@ class Deployment {
headers: {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${this.githubToken}`,
'Content-type': 'application/json'
'Content-type': 'application/json',
Host: 'api.github.com'
}
})
this.requestedDeployment = true