feature: serverus modularly serves up a directory as an HTTP server

This commit is contained in:
Andy Burke 2025-06-19 15:43:01 -07:00
commit 58139b078d
20 changed files with 1449 additions and 0 deletions

View file

@ -0,0 +1,8 @@
export function GET(_req: Request, meta: Record<string, any>): Response {
return new Response(meta.params.input ?? '', {
status: 200,
headers: {
'Content-Type': 'text/plain'
}
});
}