Skip to content

Commit

Permalink
Make outrigger client point to new routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Nibecker committed Feb 3, 2016
1 parent 5dd9d14 commit a0f7e13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/outrigger-client
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ switch (command) {
if (opts.path !== undefined) {
push_file(path.resolve(opts.path), opts.topic)
.then(function() {
console.log('==> View program at: http://' + opts['outriggerd'] + '/run?rendezvous=' + opts.topic);
console.log('==> View program at: http://' + opts['outriggerd'] + '/?rendezvous=' + opts.topic);
});
} else {
usage();
Expand All @@ -300,7 +300,7 @@ switch (command) {

push_file(watchPath, opts.topic)
.then(function() {
console.log('==> View program at: http://' + opts['outriggerd'] + '/run?rendezvous=' + opts.topic);
console.log('==> View program at: http://' + opts['outriggerd'] + '/?rendezvous=' + opts.topic);
});

console.log('Watching file ' + opts.path + ' for changes:');
Expand Down Expand Up @@ -355,7 +355,7 @@ switch (command) {
case 'browser':
if (opts.path) {
var absPath = path.resolve(opts.path);
open('http://' + opts['outriggerd'] + '/run?path=' + absPath);
open('http://' + opts['outriggerd'] + '/?path=' + absPath);

} else {
usage();
Expand Down

0 comments on commit a0f7e13

Please sign in to comment.