🐛 fix: use hostname instead of host in listen options

This commit is contained in:
2026-07-12 18:18:13 +07:00
parent 627134dd98
commit 90b698ad68
+1 -1
View File
@@ -26,7 +26,7 @@ const app = new Elysia()
return data; return data;
}) })
.listen({ port: 3000, host: "0.0.0.0" }); .listen({ port: 3000, hostname: "0.0.0.0" });
console.log("Listening on port 3000"); console.log("Listening on port 3000");