Skip to content
Snippets Groups Projects
Unverified Commit fa803787 authored by Huu Le's avatar Huu Le Committed by GitHub
Browse files

relative url (#393)

parent c5559d8e
No related branches found
No related tags found
No related merge requests found
---
"create-llama": patch
---
DocumentInfo working with relative URLs
......@@ -134,7 +134,9 @@ export default function Markdown({
return (
<DocumentInfo
document={{
url: new URL(decodeURIComponent(href)).href,
url: backend
? new URL(decodeURIComponent(href)).href
: href,
sources: [],
}}
className="mb-2 mt-2"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment