mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix null -> localhost
This commit is contained in:
@@ -257,7 +257,7 @@ main.registerCommand({
|
|||||||
"port is a number. Try 'meteor help run' for help.\n");
|
"port is a number. Try 'meteor help run' for help.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
var proxyHost = portMatch[1] || null;
|
var proxyHost = portMatch[1] || 'localhost';
|
||||||
var proxyPort = parseInt(portMatch[2]);
|
var proxyPort = parseInt(portMatch[2]);
|
||||||
|
|
||||||
// If additional args were specified, then also start a mobile build.
|
// If additional args were specified, then also start a mobile build.
|
||||||
@@ -1056,7 +1056,7 @@ main.registerCommand({
|
|||||||
"port is a number. Try 'meteor help run' for help.\n");
|
"port is a number. Try 'meteor help run' for help.\n");
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
var proxyHost = portMatch[1] || null;
|
var proxyHost = portMatch[1] || 'localhost';
|
||||||
var proxyPort = parseInt(portMatch[2]);
|
var proxyPort = parseInt(portMatch[2]);
|
||||||
|
|
||||||
// XXX not good to change the options this way
|
// XXX not good to change the options this way
|
||||||
|
|||||||
Reference in New Issue
Block a user