Skip to content

Commit b4808bf

Browse files
committed
Fix: use set port variable to open browser
1 parent 3cd2b0a commit b4808bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/www

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ server.listen(port);
3030
server.on('error', onError);
3131
server.on('listening', onListening);
3232
(async () => {
33-
await open('http://localhost:3000');
33+
await open(`http://localhost:${port}`);
3434
})();
3535

3636
/**

0 commit comments

Comments
 (0)