From 28e60b3d2983217789899438b5ae2fd8915164e5 Mon Sep 17 00:00:00 2001 From: Tine Jozelj Date: Mon, 11 Sep 2023 14:17:23 +0200 Subject: [PATCH] fix(api): prefix --- api/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/index.ts b/api/src/index.ts index 173a550..b0b0434 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -1,6 +1,6 @@ import { Elysia } from "elysia"; -const app = new Elysia(); +const app = new Elysia({ prefix: "/api" }); app.get("/", (ctx) => ctx.headers);