diff --git a/src/app.ts b/src/app.ts index 98e2661..fea57a8 100644 --- a/src/app.ts +++ b/src/app.ts @@ -62,6 +62,6 @@ const app = new Elysia({ // all routes here app.use(api); -app.listen(ENV.SERVER_PORT, "0.0.0.0", () => { +app.listen({ host: "0.0.0.0", port: ENV.SERVER_PORT }, () => { console.log(`🦊 Elysia is running at ${ENV.SERVER_URL}:${ENV.SERVER_PORT}`); });