Skip to content

Commit

Permalink
databasie fuckie
Browse files Browse the repository at this point in the history
oopsie
  • Loading branch information
tizu69 authored Apr 9, 2024
1 parent a433764 commit 4895cd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/p/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
issueLink = `https://github.com/${author}/${repo}/issues`;
docLoc = `https://github.com/${author}/${repo}/blob/${branch}${path}/README.md`;
try {
(() => { try {
const targetUrl = docLoc.replace(
new RegExp(consts.DOCS_URL_REGEX),
'raw.githubusercontent.com/$1/$2'
Expand All @@ -90,7 +90,7 @@
const text = await res.text();
docs = markdown(text.replace(/(\!\[.*]\()(\.\/)(.*\))/g, `$1https://raw.githubusercontent.com/${author}/${repo}/${branch}/$3`));
} catch {}
} catch {} })()
try {
const res = await fetch(consts.AUTOMATIN_URL + `?stat=views&id=${id}`, { method: 'PUT' });
Expand Down

0 comments on commit 4895cd8

Please sign in to comment.