Skip to content

Commit

Permalink
FIXEDgit add .! change rest of paths
Browse files Browse the repository at this point in the history
  • Loading branch information
CrackTheCode016 committed Sep 10, 2023
1 parent 0479346 commit 6ab7dab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/blog_post.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ fn use_test() {
/// The full blog post, loads the markdown content.
#[function_component(BlogPost)]
pub fn post(props: &BlogPostProps) -> HtmlResult {
let path = format!("/posts/{}.md", props.id.clone());
let metadata = use_file("/posts/metadata.json".to_string())?;
let path = format!("/badery-wasm-blog/posts/{}.md", props.id.clone());
let metadata = use_file("/badery-wasm-blogposts/metadata.json".to_string())?;
let md: String = use_file(path.clone())?;
if metadata != "not found" {
let post =
Expand Down

0 comments on commit 6ab7dab

Please sign in to comment.