fix trailing slash in embed url

- Closes #864
main
Mike Fix 5 years ago
parent 86f82efd2f
commit 796994d3af

@ -9,7 +9,7 @@ import Popout, { managePopout } from './Popout'
const toIFrame = url => const toIFrame = url =>
`<iframe `<iframe
src="${location.origin}/embed${url.replace(/^\//, '')}" src="${location.origin}/embed${url}"
style="transform:scale(0.7); width:1024px; height:473px; border:0; overflow:hidden;" style="transform:scale(0.7); width:1024px; height:473px; border:0; overflow:hidden;"
sandbox="allow-scripts allow-same-origin"> sandbox="allow-scripts allow-same-origin">
</iframe> </iframe>

Loading…
Cancel
Save