update 00000

This commit is contained in:
smfahim25 2025-03-19 10:06:43 +06:00
parent c194ca1495
commit c562a82d70

View file

@ -13,7 +13,7 @@ const allowedOrigins = [
]; ];
const app = new Elysia({ const app = new Elysia({
prefix: "", prefix: "/api", // Add this prefix
tags: ["Default"], tags: ["Default"],
}) })
.use( .use(
@ -62,6 +62,6 @@ const app = new Elysia({
// all routes here // all routes here
app.use(api); 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}`); console.log(`🦊 Elysia is running at ${ENV.SERVER_URL}:${ENV.SERVER_PORT}`);
}); });