This commit is contained in:
dylan 2024-03-26 00:11:20 -07:00
parent e00499f08f
commit 8eb2b392cd

View File

@ -21,15 +21,15 @@ const handler = async ({payload}: FirRouteInput<typeof payloadT>) => {
await git.clone({ await git.clone({
fs, fs,
http, http,
// headers: { headers: {
// "Authorization": `token ${token}`, "Authorization": `Bearer ${token}`,
// },
onAuth() {
return {
username: token,
password: 'x-access-token',
}
}, },
// onAuth() {
// return {
// username: token,
// password: 'x-access-token',
// }
// },
dir: "./repos", dir: "./repos",
url: manifest.repo, url: manifest.repo,
}); });