Skip to content

Commit 8749894

Browse files
authored
chore: update node-adapter listening address (#13146)
1 parent 11a9f66 commit 8749894

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/angry-pumas-develop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/adapter-node': patch
3+
---
4+
5+
chore: append http on listening address

packages/adapter-node/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ if (socket_activation) {
3939
});
4040
} else {
4141
server.listen({ path, host, port }, () => {
42-
console.log(`Listening on ${path ? path : host + ':' + port}`);
42+
console.log(`Listening on ${path || `http://${host}:${port}`}`);
4343
});
4444
}
4545

0 commit comments

Comments
 (0)