try onAuth instead
This commit is contained in:
parent
6ead55d543
commit
e00499f08f
@ -21,8 +21,14 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => {
|
||||
await git.clone({
|
||||
fs,
|
||||
http,
|
||||
headers: {
|
||||
"Authorization": `token ${token}`,
|
||||
// headers: {
|
||||
// "Authorization": `token ${token}`,
|
||||
// },
|
||||
onAuth() {
|
||||
return {
|
||||
username: token,
|
||||
password: 'x-access-token',
|
||||
}
|
||||
},
|
||||
dir: "./repos",
|
||||
url: manifest.repo,
|
||||
|
Loading…
x
Reference in New Issue
Block a user