mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
if the asset_url is not present, attempt to find the canonical link tag. if not, warn the user and strip the query params.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@
|
||||
<script src="/embed.js" async onload="
|
||||
Coral.Talk.render(document.getElementById('coralStreamEmbed'), {
|
||||
talk: '/',
|
||||
asset: '<%= asset_url ? asset_url : '' %>'
|
||||
asset_url: '<%= asset_url ? asset_url : '' %>'
|
||||
})
|
||||
"></script>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user