Skip to content

Commit 4373056

Browse files
committed
allow connection via SSH, fix error logging
1 parent 4b57b46 commit 4373056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const PORT = 8080;
55
const server = buildServer();
66

77
try {
8-
await server.listen({ port: PORT });
8+
await server.listen({ port: PORT, host: '0.0.0.0' });
99
console.log(`Server running on port ${PORT}`);
1010
} catch (error) {
1111
server.log.error(error);

0 commit comments

Comments
 (0)