try it flipped
This commit is contained in:
parent
83bb775e28
commit
09dce181ae
@ -23,15 +23,15 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => {
|
|||||||
await git.clone({
|
await git.clone({
|
||||||
fs,
|
fs,
|
||||||
http,
|
http,
|
||||||
headers: {
|
// headers: {
|
||||||
"Authorization": `Bearer ${token}`,
|
// "Authorization": `Bearer ${token}`,
|
||||||
},
|
|
||||||
// onAuth() {
|
|
||||||
// return {
|
|
||||||
// username: token,
|
|
||||||
// password: 'x-access-token',
|
|
||||||
// }
|
|
||||||
// },
|
// },
|
||||||
|
onAuth() {
|
||||||
|
return {
|
||||||
|
username: 'x-access-token',
|
||||||
|
password: token,
|
||||||
|
}
|
||||||
|
},
|
||||||
dir: "./repos",
|
dir: "./repos",
|
||||||
url: manifest.repo,
|
url: manifest.repo,
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user