Update API endpoint for websockets
This commit is contained in:
parent
e6ce9b8aec
commit
bb8c64b157
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue