fix link to local iframe in embed.js
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user