Skip to content

Commit

Permalink
fix: remove webmention testing url
Browse files Browse the repository at this point in the history
  • Loading branch information
manila committed Mar 19, 2024
1 parent 63f11f3 commit c7039d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/theme/BlogPostItem/Footer/Webmentions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Webmentions(props) {
const mentionEndpoint = (target) => `${baseUrl}/mentions.jf2?target=${target}`;

useEffect(() => {
const postUrl = 'https://manic.so/'//window.location.href;
const postUrl = window.location.href;

const webmentionCount = fetch(countEndpoint(postUrl))
.then(response => response.json())
Expand Down

0 comments on commit c7039d4

Please sign in to comment.