Skip to content

Commit

Permalink
Merge pull request #5 from jpalat/image-fix
Browse files Browse the repository at this point in the history
Fixed image name typo.
  • Loading branch information
deg4uss3r committed May 23, 2024
2 parents 6f67876 + c8c9407 commit ed7f787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ fn main(req: Request) -> Result<Response, Error> {
.with_content_type(mime::TEXT_HTML_UTF_8)
.with_body(include_str!("static_site/hosfe.lt/public/posts/adblocker/index.html")))
},
"/images/honeycomnd.png" => {
"/images/honeycomb.png" => {
Ok(Response::from_status(StatusCode::OK)
.with_content_type(mime::IMAGE_PNG)
.with_body(include_bytes!("static_site/hosfe.lt/public/images/honeycomb.png").as_slice()))
Expand Down

0 comments on commit ed7f787

Please sign in to comment.