diff --git a/src/Sikofitt/Resume/Pdf.php b/src/Sikofitt/Resume/Pdf.php index fbfda76..1ea6ebf 100644 --- a/src/Sikofitt/Resume/Pdf.php +++ b/src/Sikofitt/Resume/Pdf.php @@ -96,7 +96,7 @@ class Pdf */ public function getIndex() { - $host = $this->getHost() ?: $this->request->getSchemeAndHttpHost(); + $host = $this->request->getSchemeAndHttpHost(); return $this->app->renderView('index.html.twig', [ 'renderPdf' => true, @@ -126,7 +126,7 @@ class Pdf */ public function getCover() { - $host = $this->getHost() ?: $this->request->getSchemeAndHttpHost(); + $host = $this->request->getSchemeAndHttpHost(); return $this->app->renderView('cover.html.twig', [ 'baseUrl' => $host, 'renderPdf' => true,