Skip to content

Commit

Permalink
Update repo name
Browse files Browse the repository at this point in the history
  • Loading branch information
a1603169 committed Mar 27, 2024
1 parent a332ffe commit c479d11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pages/blog/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ export default function Post({
useEffect(() => {
const anchor = document.getElementById("comments");

// Check if the element exists in the DOM
if (anchor) {
const script = document.createElement("script");
script.src = "https://utteranc.es/client.js";
script.setAttribute("repo", "a1603169/nextjs-tailwindcss-blog-portfolio"); // replace with your repo
// When you update your repo name, you have to update the repo attribute
script.setAttribute("repo", "a1603169/pwa-nextjs-tailwindcss-blog"); // replace with your repo
script.setAttribute("issue-term", "pathname");
script.setAttribute("theme", "github-light");
script.crossOrigin = "anonymous";
Expand Down
2 changes: 1 addition & 1 deletion public/sw.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c479d11

Please sign in to comment.