mirror of
https://github.com/get-drexa/drive.git
synced 2025-11-30 21:41:39 +00:00
11 lines
157 B
TypeScript
11 lines
157 B
TypeScript
|
|
import { Hono } from "hono"
|
||
|
|
import { handleFileRequest } from "./files"
|
||
|
|
|
||
|
|
Bun.serve({
|
||
|
|
routes: {
|
||
|
|
"/files/:fileId": {
|
||
|
|
GET: handleFileRequest,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
})
|