remove trailing slash from embed copy

main
Mike Fix 5 years ago
parent 044e000788
commit f58b7e9ccd

@ -9,7 +9,7 @@ import Popout, { managePopout } from './Popout'
const toIFrame = url => const toIFrame = url =>
`<iframe `<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;" 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