Skip to content

Commit

Permalink
fixed local readme image bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcat101 committed Jan 28, 2024
1 parent d30fd28 commit 08c8da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/p/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
if (!res.ok) return;
const text = await res.text();
docs = markdown(text);
docs = markdown(text.replace(/(\!\[.*]\()(\.\/)(.*\))/g, `$1https://raw.githubusercontent.com/${author}/${repo}/${branch}/$3`));
} catch {}
try {
Expand Down

0 comments on commit 08c8da9

Please sign in to comment.