Skip to content

Commit f3cf9f2

Browse files
committed
fix: log address
1 parent cdf8a43 commit f3cf9f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,14 @@ app.after(async () => {
7878
async function run() {
7979
await app.ready();
8080

81-
await app.listen({
81+
const address = await app.listen({
82+
host: "0.0.0.0",
8283
port: configJson.server?.port ?? 4949,
8384
});
8485

85-
console.log(`Server running at http://localhost:4949`);
86+
console.log(`Server running at ${address}`);
8687
if (!configJson.no_docs) {
87-
console.log(`Documentation running at http://localhost:4949/docs`);
88+
console.log(`Documentation running at ${address}/docs`);
8889
}
8990
}
9091

0 commit comments

Comments
 (0)