Skip to content

Commit bbddc9d

Browse files
authored
refactor: fix deprecation warning (#490)
1 parent 16a52c1 commit bbddc9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/eik-server.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ try {
2020
// Do accept errors
2121
}
2222

23-
await app.listen(eik.config.get('http.port'), eik.config.get('http.address'));
23+
await app.listen({
24+
port: eik.config.get('http.port'),
25+
host: eik.config.get('http.address')
26+
});

0 commit comments

Comments
 (0)