Skip to content

Commit 4bd732a

Browse files
committed
Add vagrant support to dev branch.
1 parent 55ce1cb commit 4bd732a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

build/build.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ var clc = require('cli-color');
1010

1111
var cloudfront_production = 'https://d50sg51l36z7c.cloudfront.net';
1212
var cloudfront_stage = 'https://d51ivijxlr7mx.cloudfront.net';
13+
var cloudfront_vagrant = 'https://vagrant-client.apiengine.io:40443';
1314

1415
// Logging helpers
1516

@@ -31,12 +32,12 @@ var log = function (message, _type) {
3132

3233
log('Api Engine Client Builder', types.heading)
3334

34-
35-
36-
3735
if(process.argv[2] === 'stage') {
3836
var cloudfront = cloudfront_stage;
3937
log('Staging enviroment selected', types.label)
38+
} else if(process.argv[2] === 'vagrant') {
39+
var cloudfront = cloudfront_vagrant;
40+
log('Vagrant enviroment selected', types.label)
4041
} else {
4142
var cloudfront = cloudfront_production;
4243
log('Production enviroment selected', types.label)

0 commit comments

Comments
 (0)