diff --git a/blog/src/blog.js b/blog/src/blog.js index 4bc6b69..f21a7af 100644 --- a/blog/src/blog.js +++ b/blog/src/blog.js @@ -95,7 +95,7 @@ async function addPost(name) { async function downloadPosts() { const urlParams = new URLSearchParams(window.location.search); - const postName = urlParams.get("post"); + let postName = urlParams.get("post"); const posts = await getPosts(); if (posts === null) {