Commit 5defc2d8 authored by Nick Stenning's avatar Nick Stenning

Install and configure the streamer

parent d40ef973
......@@ -6,6 +6,7 @@ imports = [
'h.auth'
'h.helpers'
'h.identity'
'h.streamer'
]
......@@ -24,8 +25,8 @@ resolve =
configure = [
'$locationProvider', '$routeProvider', '$sceDelegateProvider',
($locationProvider, $routeProvider, $sceDelegateProvider) ->
'$locationProvider', '$routeProvider', '$sceDelegateProvider', 'streamerProvider',
($locationProvider, $routeProvider, $sceDelegateProvider, streamerProvider) ->
$locationProvider.html5Mode(true)
$routeProvider.when '/a/:id',
......@@ -55,6 +56,8 @@ configure = [
# TODO: move all front-end templates into their own directory for safety
basePattern = baseURI.replace /\/[^\/]*$/, '/**.html'
$sceDelegateProvider.resourceUrlWhitelist ['self', basePattern]
streamerProvider.url = baseURI + '__streamer__'
]
......
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