1
0
Fork 0
mirror of https://gitbruv.vercel.app/api/git/bruv/gitbruv.git synced 2025-12-20 23:24:09 +01:00

rate limit and auth checks

This commit is contained in:
Ahmet Kilinc 2025-12-20 14:06:02 +00:00
parent 125c6fdd6a
commit 91208e44a1
9 changed files with 403 additions and 257 deletions

View file

@ -178,3 +178,5 @@ export function createR2Fs(repoPrefix: string) {
export function getRepoPrefix(userId: string, repoName: string): string {
return `repos/${userId}/${repoName}`;
}
export type R2Fs = ReturnType<typeof createR2Fs>;