diff --git a/src/index.ts b/src/index.ts index 042f7c4..1ece910 100644 --- a/src/index.ts +++ b/src/index.ts @@ -39,7 +39,7 @@ const boolNotStr = (name: string) => { ) } -const app = new Elysia() +const app = new Elysia({ prefix: '/api' }) .use( cors({ origin: '*',