Skip to content

Commit 1f95362

Browse files
committed
reverting svg to the right version
1 parent fa38711 commit 1f95362

File tree

1 file changed

+3
-2
lines changed
  • src/components/media-types/vector

1 file changed

+3
-2
lines changed

src/components/media-types/vector/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,12 @@ export const VectorComponent = ({ src, interactive, token_info }) => {
2525
<div className={classes}>
2626
<iframe
2727
title="hic et nunc SVG renderer"
28-
src={`https://hicetnunc2000.github.io/hicetnunc/gh-pages/sandbox-svg.html?src=${src}&creator=${_creator_}&viewer=${_viewer_}`}
28+
src={`${src}?author=${_creator_}&viewer=${_viewer_}`}
2929
sandbox="allow-scripts"
3030
scrolling="no"
3131
/>
3232
</div>
3333
)
3434
}
35-
// old: src={`${src}?author=${_creator_}&viewer=${_viewer_}`}
35+
// svg version: src={`${src}?author=${_creator_}&viewer=${_viewer_}`}
36+
// iframe version: src={`https://hicetnunc2000.github.io/hicetnunc/gh-pages/sandbox-svg.html?src=${src}&creator=${_creator_}&viewer=${_viewer_}`}

0 commit comments

Comments
 (0)