translations #1
This commit is contained in:
@@ -11,7 +11,7 @@ struct RootPage {
|
||||
static_host: String,
|
||||
cv: CV,
|
||||
download_cv_url: String,
|
||||
lang: I18n,
|
||||
lang: String,
|
||||
}
|
||||
|
||||
#[get("/")]
|
||||
@@ -21,6 +21,7 @@ pub async fn index(presentation_config: &State<PresentationConfig>, cv_config: &
|
||||
static_host: presentation_config.static_route.clone(),
|
||||
cv,
|
||||
download_cv_url: "FIXME!".to_string(),
|
||||
lang: "en".to_string(),
|
||||
},
|
||||
Err(e) => {
|
||||
error!("Can't fetch CV data from backend {:?}", e);
|
||||
|
||||
Reference in New Issue
Block a user