forked from External/greenlight
		
	dynamically select websocket protocol
This commit is contained in:
		@@ -6,6 +6,13 @@
 | 
			
		||||
 | 
			
		||||
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous">
 | 
			
		||||
 | 
			
		||||
    <!-- Global javascript variables and helpers. -->
 | 
			
		||||
    <script type="text/javascript">
 | 
			
		||||
      window.GreenLight = {};
 | 
			
		||||
      window.GreenLight.WEBSOCKET_HOST = "<%= ENV['WEBSOCKET_HOST'] %>"
 | 
			
		||||
      window.GreenLight.RELATIVE_ROOT = "<%= relative_root %>"
 | 
			
		||||
    </script>
 | 
			
		||||
 | 
			
		||||
    <%= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track': 'reload' %>
 | 
			
		||||
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
 | 
			
		||||
  </head>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user