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