Commit 73302aed authored by gergely-ujvari's avatar gergely-ujvari

Fix badly generated streamer url path for sidebar.

Cutting the end of the baseurl resource is now ok.

Warning: This functionality from the helper will disappear after all will be handled as angular routes.
parent 6045744a
......@@ -15,9 +15,7 @@ class App
$element, $filter, $http, $location, $rootScope, $scope, $timeout
annotator, authentication, baseurl, streamfilter
) ->
init_path = document.init_path
$scope.baseurl = baseurl[..-(init_path.toString().length)] + '__streamer__'
delete document.init_path
$scope.baseurl = baseurl[..-('/app/'.length)] + '__streamer__'
{plugins, host, providers} = annotator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment