From f1cc6dacc4c0e0f36126b03e40d8b0671869c098 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Thu, 19 May 2016 16:46:38 -0700 Subject: [PATCH] galaxy discovery tweaks - Use deploy-specific CNAME by default - Don't print deploy URL twice for authedRpc. --- tools/meteor-services/deploy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/meteor-services/deploy.js b/tools/meteor-services/deploy.js index f582036c545..6d68e5396a3 100644 --- a/tools/meteor-services/deploy.js +++ b/tools/meteor-services/deploy.js @@ -159,6 +159,7 @@ var authedRpc = function (options) { qs: options.qs, printDeployURL: options.printDeployURL }); + delete rpcOptions.printDeployURL; if (infoResult.statusCode === 401 && rpcOptions.promptIfAuthFails) { // Our authentication didn't validate, so prompt the user to log in @@ -838,7 +839,7 @@ function getDeployURL(site) { return Promise.resolve(addScheme(process.env.DEPLOY_HOSTNAME)); } - const defaultURL = "https://galaxy.meteor.com"; + const defaultURL = "https://us-east-1.galaxy-deploy.meteor.com"; // No site? Just use the default. if (!site) {