diff --git a/api/index.tsx b/api/index.tsx index 4f96767..66de04d 100644 --- a/api/index.tsx +++ b/api/index.tsx @@ -4,10 +4,14 @@ import '../src/env'; // Validate env vars -import { app } from '../src/app'; +import { createElysia } from '~/util/elysia'; + +// import { app } from '../src/app'; export const config = { runtime: 'edge' }; +const app = createElysia().get('/', () => 'hello from elysia'); + export default async function handler(request: Request) { return app.fetch(request); } diff --git a/bun.lockb b/bun.lockb index 40a1bda..5c7fdfd 100755 Binary files a/bun.lockb and b/bun.lockb differ