Merge pull request #1814 from jaredevantabor/1811-sockets

Adds liveUpdates flag for the UI back in
This commit is contained in:
Ryan Petrello 2018-04-27 16:24:16 -04:00 committed by GitHub
commit 1e4c2f6d4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,10 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="{{ STATIC_URL }}assets/favicon.ico?v={{version}}" />
<script>var $basePath = '{{ STATIC_URL }}'</script>
<script>
var $basePath = '{{ STATIC_URL }}';
window.liveUpdates = "{{ UI_LIVE_UPDATES_ENABLED }}" === "False" ? false : true;
</script>
<% htmlWebpackPlugin.files.css.forEach(file => {%>
<link href="{{ STATIC_URL }}<%= file %>" rel="stylesheet" />
<% }) %>