Files
platform/apps/api/.agents/skills/elysiajs/examples/file.ts
T
2026-06-23 12:37:47 -04:00

11 lines
216 B
TypeScript

import { Elysia, file } from 'elysia'
/**
* Example of handle single static file
*
* @see https://github.com/elysiajs/elysia-static
*/
new Elysia()
.get('/tako', file('./example/takodachi.png'))
.listen(3000)