replace trailing slash from embed

- Closes #914
main
Mike Fix 5 years ago
parent acfff58f3b
commit e6853a0fc2
No known key found for this signature in database
GPG Key ID: 1D85E862314CA79F

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

Loading…
Cancel
Save