Skip to content

Commit

Permalink
test with public url ci to see
Browse files Browse the repository at this point in the history
  • Loading branch information
CrackTheCode016 committed Sep 10, 2023
1 parent 858cee3 commit 74c3a72
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/pages/blog.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/// The actual page which displays the blog content
use yew::prelude::*;
use crate::components::blog_list::BlogList;
use crate::services::types::Post;
use crate::services::hooks::use_file;
use crate::services::types::Post;
/// The actual page which displays the blog content
use yew::prelude::*;

#[derive(Properties, PartialEq)]
pub struct BlogProps {
Expand All @@ -11,8 +11,7 @@ pub struct BlogProps {

#[function_component(Blog)]
pub fn blog_full() -> Html {

let md = use_file("/posts/metadata.json".to_string()).unwrap();
let md = use_file("badery-wasm-blog/posts/metadata.json".to_string()).unwrap();

html! {
<div class="body">
Expand Down

0 comments on commit 74c3a72

Please sign in to comment.