fix link to local iframe in embed.js

This commit is contained in:
igoradamenko
2018-02-24 23:52:18 +02:00
parent 380d1027ec
commit 64636dae1b
+1 -1
View File
@@ -34,7 +34,7 @@ function initEmbed() {
node.innerHTML = `
<iframe
src="${process.env.NODE_ENV === 'production' ? 'https://demo.remark42.com/web' : 'http://localhost:8080'}/iframe.html?${query}"
src="${process.env.NODE_ENV === 'production' ? 'https://demo.remark42.com/web' : ''}/iframe.html?${query}"
width="100%"
frameborder="0"
allowtransparency="true"