From 5730d6a5ac3396db0298d5e1ae8a1376f3916b9a Mon Sep 17 00:00:00 2001 From: snusxd Date: Tue, 14 Apr 2026 14:01:40 +0300 Subject: [PATCH] fix: update app.listen to include hostname in server configuration --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 1cced7e..f02b75e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -19,7 +19,7 @@ app.get("/cover/:artist/:album/:id", ({ params: { artist, album, id } }) => get_image_from_server(artist, album, id), ); -app.listen(3000, ({ hostname, port }) => { +app.listen({ hostname: '0.0.0.0', port: 3000 }, ({ hostname, port }) => { console.log(`🦊 Elysia is running at ${hostname}:${port}`); });