added support for mapping ports to the backend

This commit is contained in:
Kasra Bigdeli
2017-12-16 17:31:35 -08:00
parent 36dbabd7d2
commit 00ff044f54
5 changed files with 50 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ const questions = [
type: 'input',
default: SAMPLE_DOMAIN,
name: 'captainAddress',
message: 'Enter address of the Captain machine. \nIt can be in [IP]:[PORT] format or captain.[your-captain-root-domain] format:',
message: 'Enter address of the Captain machine. \nIt is captain.[your-captain-root-domain] :',
validate: function (value) {
if (value===SAMPLE_DOMAIN){