From c562a82d70d877d5ec575cc76f0c985c000e7218 Mon Sep 17 00:00:00 2001 From: smfahim25 Date: Wed, 19 Mar 2025 10:06:43 +0600 Subject: [PATCH] update 00000 --- src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index fea57a8..770b4dc 100644 --- a/src/app.ts +++ b/src/app.ts @@ -13,7 +13,7 @@ const allowedOrigins = [ ]; const app = new Elysia({ - prefix: "", + prefix: "/api", // Add this prefix tags: ["Default"], }) .use( @@ -62,6 +62,6 @@ const app = new Elysia({ // all routes here app.use(api); -app.listen({ host: "0.0.0.0", port: ENV.SERVER_PORT }, () => { +app.listen(ENV.SERVER_PORT, () => { console.log(`🦊 Elysia is running at ${ENV.SERVER_URL}:${ENV.SERVER_PORT}`); });