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:
parent
125c6fdd6a
commit
91208e44a1
9 changed files with 403 additions and 257 deletions
|
|
@ -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>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue