added support for changing the static url

This commit is contained in:
Wyatt Johnson
2017-09-14 14:27:45 -06:00
parent 7ace5b369a
commit f74e8dda16
12 changed files with 86 additions and 53 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
<p><%= body %></p>
<p><a href="<%= BASE_PATH %>admin">Admin</a> - <a href="<%= BASE_PATH %>assets">All Assets</a></p>
<div id='coralStreamEmbed'></div>
<script src="<%= BASE_URL %>embed.js" async onload="
<script src="<%= STATIC_URL %>embed.js" async onload="
window.TalkEmbed = Coral.Talk.render(document.getElementById('coralStreamEmbed'), {
talk: '<%= BASE_URL %>',
asset_url: '<%= asset_url ? asset_url : '' %>',