Removed localhost
This commit is contained in:
parent
d2659172f7
commit
43867df262
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue