Skip to content

Commit

Permalink
galaxy discovery tweaks
Browse files Browse the repository at this point in the history
- Use deploy-specific CNAME by default
- Don't print deploy URL twice for authedRpc.
  • Loading branch information
glasser authored and benjamn committed May 20, 2016
1 parent 53c4d81 commit f1cc6da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/meteor-services/deploy.js
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit f1cc6da

Please sign in to comment.