mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 08:06:15 +00:00
set host header
This commit is contained in:
3
dist/index.js
vendored
3
dist/index.js
vendored
@@ -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
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user