Update API endpoint for websockets

This commit is contained in:
Michael J. Schultz 2014-10-12 19:07:34 +00:00
parent e6ce9b8aec
commit bb8c64b157

View file

@ -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) {