Skip to content

Commit

Permalink
try hardlink
Browse files Browse the repository at this point in the history
  • Loading branch information
dhazelett committed Feb 6, 2024
1 parent ec0d6e3 commit 8374920
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/markdoc/tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const tags = {
render: ({ src, alt = '', caption }) => (
<figure>
{/* eslint-disable-next-line @next/next/no-img-element */}
<img src={`./docs${src}`} alt={alt} />
<img src={`/docs${src}`} alt={alt} />
<figcaption>{caption}</figcaption>
</figure>
),
Expand All @@ -39,7 +39,7 @@ const tags = {
},
render: ({ src }) => (
<video controls loop>
<source src={`./docs${src}`} type={`video/${src.replace(/.*\.(.*)/g, '$1')}`} />
<source src={`/docs${src}`} type={`video/${src.replace(/.*\.(.*)/g, '$1')}`} />
</video>
),
},
Expand Down

0 comments on commit 8374920

Please sign in to comment.