mirror of
https://github.com/get-drexa/drive.git
synced 2025-11-30 21:41:39 +00:00
feat: auth pkg and file proxy scaffold
Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
7
apps/file-proxy/router.ts
Normal file
7
apps/file-proxy/router.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { RouterTypes } from "bun"
|
||||
|
||||
function router<
|
||||
R extends { [K in keyof R]: RouterTypes.RouteValue<Extract<K, string>> },
|
||||
>(routes: R): R {
|
||||
return routes
|
||||
}
|
||||
Reference in New Issue
Block a user