From 5a2ce09d73b87a6209e1beee6394d8255a354f4e Mon Sep 17 00:00:00 2001 From: "fergal.moran" Date: Mon, 20 Aug 2012 17:23:18 +0100 Subject: [PATCH] Added missing settings template --- templates/javascript/settings.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 templates/javascript/settings.js diff --git a/templates/javascript/settings.js b/templates/javascript/settings.js new file mode 100644 index 0000000..6e0fc1f --- /dev/null +++ b/templates/javascript/settings.js @@ -0,0 +1,6 @@ +if (!window.appSettings){ + window.appSettings = {}; + appSettings.urlRoot = '{{ API_URL }}'; + appSettings.liveStreamRoot = 'http://{{ LIVE_STREAM_URL }}:{{ LIVE_STREAM_PORT }}/{{ LIVE_STREAM_MOUNT }}'; + appSettings.streamInfoUrl = 'http://{{ LIVE_STREAM_INFO_URL }}' +} \ No newline at end of file