mirror of
https://gitbruv.vercel.app/api/git/bruv/gitbruv.git
synced 2025-12-20 23:24:09 +01:00
fix?
This commit is contained in:
parent
4395d0fdce
commit
8e4798ab4c
1 changed files with 2 additions and 2 deletions
|
|
@ -358,7 +358,7 @@ export async function GET(request: NextRequest, { params }: { params: Promise<{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const repoPrefix = getRepoPrefix(owner.id, repoName);
|
const repoPrefix = getRepoPrefix(owner.id, `${repoName}.git`);
|
||||||
const fs = createR2Fs(repoPrefix);
|
const fs = createR2Fs(repoPrefix);
|
||||||
|
|
||||||
const refs = await getRefsAdvertisement(fs, "/", serviceQuery);
|
const refs = await getRefsAdvertisement(fs, "/", serviceQuery);
|
||||||
|
|
@ -428,7 +428,7 @@ export async function POST(request: NextRequest, { params }: { params: Promise<{
|
||||||
}
|
}
|
||||||
|
|
||||||
const body = Buffer.from(await request.arrayBuffer());
|
const body = Buffer.from(await request.arrayBuffer());
|
||||||
const repoPrefix = getRepoPrefix(owner.id, repoName);
|
const repoPrefix = getRepoPrefix(owner.id, `${repoName}.git`);
|
||||||
const fs = createR2Fs(repoPrefix);
|
const fs = createR2Fs(repoPrefix);
|
||||||
|
|
||||||
let response: Buffer;
|
let response: Buffer;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue