Skip to content

Commit

Permalink
fix embed requesting 404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
georg-stone committed Oct 17, 2024
1 parent 9454613 commit 7c63c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/app/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ export default function Home() {
e.preventDefault();
setIframeLoaded(false);
setSelectedArticleURL(
`/read/${btoa(item.link)}?src=embed`
`/read/${btoa(item.link).replaceAll("/", "-")}?src=embed`
);
}
}}
Expand Down

0 comments on commit 7c63c10

Please sign in to comment.