update 00000

This commit is contained in:
smfahim25 2025-03-19 10:12:05 +06:00
parent c562a82d70
commit af0d91ed94

View file

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