Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
plain elysia
Browse files Browse the repository at this point in the history
  • Loading branch information
syhner committed Apr 3, 2024
1 parent 57196b7 commit 70b35dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 70b35dd

Please sign in to comment.