From bb8c64b15782626e15bf87a8d990dbefaf796791 Mon Sep 17 00:00:00 2001 From: "Michael J. Schultz" Date: Sun, 12 Oct 2014 19:07:34 +0000 Subject: [PATCH] Update API endpoint for websockets --- server/app/scripts/services/stdout.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app/scripts/services/stdout.js b/server/app/scripts/services/stdout.js index 32ae92b1..5fc439d0 100644 --- a/server/app/scripts/services/stdout.js +++ b/server/app/scripts/services/stdout.js @@ -8,7 +8,7 @@ angular.module('app').service('stdout', ['$window', function($window) { callback = _callback; var proto = ($window.location.protocol == 'https:' ? 'wss' : 'ws'); - var route = [proto, "://", $window.location.host, '/api/feed/stdout/', path].join(''); + var route = [proto, "://", $window.location.host, '/api/stream/stdout/', path].join(''); websocket = new WebSocket(route); websocket.onmessage = function(event) {