Skip to content

Commit

Permalink
Added microservices to the template and exchanged a hardcoded URL
Browse files Browse the repository at this point in the history
  • Loading branch information
rmeissn committed Nov 15, 2017
1 parent 184d883 commit 878d72c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/DefaultHTMLLayout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import ApplicationStore from '../stores/ApplicationStore';
import ga from '../plugins/googleAnalytics/ga';
import { Microservices } from '../configs/microservices';

let hook = require('css-modules-require-hook');

Expand Down Expand Up @@ -80,7 +81,7 @@ class DefaultHTMLLayout extends React.Component {
<script src="/ckeditor/ckeditor.js" defer></script>
: ''
}
<script src="https://signalingservice.experimental.slidewiki.org/socket.io/socket.io.js"></script>
<script src={ Microservices.webrtc.uri + '/socket.io/socket.io.js' }></script>
<script src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
<script src="/headjs/dist/1.0.0/head.min.js"></script>
{/* Adding for dependency loading with reveal.js*/}
Expand Down

0 comments on commit 878d72c

Please sign in to comment.