fix: update app.listen to include hostname in server configuration

This commit is contained in:
snusxd
2026-04-14 14:01:40 +03:00
parent ba9e0336b3
commit 5730d6a5ac

View File

@@ -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}`);
});