We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdf8a43 commit f3cf9f2Copy full SHA for f3cf9f2
src/main.ts
@@ -78,13 +78,14 @@ app.after(async () => {
78
async function run() {
79
await app.ready();
80
81
- await app.listen({
+ const address = await app.listen({
82
+ host: "0.0.0.0",
83
port: configJson.server?.port ?? 4949,
84
});
85
- console.log(`Server running at http://localhost:4949`);
86
+ console.log(`Server running at ${address}`);
87
if (!configJson.no_docs) {
- console.log(`Documentation running at http://localhost:4949/docs`);
88
+ console.log(`Documentation running at ${address}/docs`);
89
}
90
91
0 commit comments