fix: link to pdf
This commit is contained in:
parent
5af90d846c
commit
46cba0eef9
@ -28,7 +28,7 @@ default_person: &State<DefaultPerson>, frontend_svc: &State<FrontendSVCConfig>,
|
||||
cv,
|
||||
lang: LanguageDescription::new(language.language.as_str(), "ovlach_frontend"),
|
||||
contact_svc: frontend_svc.inner().contact_service.clone(),
|
||||
pdf_download_url: format!("{}/cv/{}/{}/output.pdf", frontend_svc.inner().pdf_service.clone(), default_person.default_person_name, language.language) // route: /cv/<username>/<language>/output.pdf
|
||||
pdf_download_url: format!("{}/cv/{}/{}/output.pdf", frontend_svc.inner().pdf_service.clone(), default_person.default_person_name, language.simple_language) // route: /cv/<username>/<language>/output.pdf
|
||||
},
|
||||
Err(e) => {
|
||||
error!("Can't fetch CV data from backend {:?}", e);
|
||||
|
Loading…
Reference in New Issue
Block a user