Skip to content

Commit

Permalink
Merge pull request #18 from z9fr/feature/develop/post-image
Browse files Browse the repository at this point in the history
fix: remove debug replace lines
  • Loading branch information
ebadfd authored Mar 3, 2024
2 parents 5082c17 + 85b0506 commit 0f23e23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/post/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ impl Post {
.front_matter
.image
.clone()
.unwrap_or_else(|| format!("https://{}/static/image/avatar.jpeg", domain))
.replace("https://z9fr.xyz", "http://localhost:3030");
.unwrap_or_else(|| format!("https://{}/static/image/avatar.jpeg", domain));
}
}

Expand Down

0 comments on commit 0f23e23

Please sign in to comment.