Skip to content

Commit a820687

Browse files
kirrg001acburdine
authored andcommitted
fix(config): default port and custom ports
closes #519 - `ghost install` -> uses the next available port (starts with 2368) - `ghost install --url http://localhost:4000 (uses 4000) - `ghost install --url http://localhost:4000 --port 2390 (uses 2390)
1 parent 8ab4892 commit a820687

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/commands/config/advanced.js

-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ module.exports = {
5555
const port = parseInt(url.parse(config.get('url')).port || BASE_PORT);
5656
return portfinder.getPortPromise({port: port});
5757
},
58-
default: 2368,
5958
type: 'number',
6059
group: 'Ghost Options:'
6160
},

0 commit comments

Comments
 (0)