fix: update app.listen to include hostname in server configuration
This commit is contained in:
@@ -19,7 +19,7 @@ app.get("/cover/:artist/:album/:id", ({ params: { artist, album, id } }) =>
|
|||||||
get_image_from_server(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}`);
|
console.log(`🦊 Elysia is running at ${hostname}:${port}`);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user