mirror of
https://github.com/YuzuZensai/Test-IP.git
synced 2026-07-21 15:19:28 +00:00
🐛 fix: use hostname instead of host in listen options
This commit is contained in:
+1
-1
@@ -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");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user