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:
10
apps/file-proxy/index.ts
Normal file
10
apps/file-proxy/index.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { Hono } from "hono"
|
||||
import { handleFileRequest } from "./files"
|
||||
|
||||
Bun.serve({
|
||||
routes: {
|
||||
"/files/:fileId": {
|
||||
GET: handleFileRequest,
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user