Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects

fix static_view image_uri

Merged Pierre Jarriges requested to merge dev into master
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
+ 4
1
@@ -44,7 +44,10 @@ pub fn create_static_view(app_state: &AppState, article: &Article) -> Result<(),
.to_owned();
if !art_image_uri.is_empty() {
art_image_uri = format!("/assets/images/{}", art_image_uri);
art_image_uri = format!(
"{}://{}/assets/images/{}",
app_state.env.server_protocol, app_state.env.server_host, art_image_uri,
);
}
let default_url = String::new();
Loading