Removed localhost

This commit is contained in:
R. Eric Wheeler 2016-07-17 17:10:08 -07:00
parent d2659172f7
commit 43867df262
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ class Pdf
*/ */
public function getIndex() public function getIndex()
{ {
$host = $this->getHost() ?: $this->request->getSchemeAndHttpHost(); $host = $this->request->getSchemeAndHttpHost();
return $this->app->renderView('index.html.twig', [ return $this->app->renderView('index.html.twig', [
'renderPdf' => true, 'renderPdf' => true,
@ -126,7 +126,7 @@ class Pdf
*/ */
public function getCover() public function getCover()
{ {
$host = $this->getHost() ?: $this->request->getSchemeAndHttpHost(); $host = $this->request->getSchemeAndHttpHost();
return $this->app->renderView('cover.html.twig', [ return $this->app->renderView('cover.html.twig', [
'baseUrl' => $host, 'baseUrl' => $host,
'renderPdf' => true, 'renderPdf' => true,