pdf: Include `<base>` tag in PDF layout

This forces the browser (in case of the pdfexport module)
to perform a network request. Otherwise there's no way
(currently) to know what the browser does or cannot do.
File resource loading isn't logged through the CDP.
This commit is contained in:
Johannes Meyer 2021-03-31 16:39:19 +02:00
parent a8be92c245
commit 867b2af12d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if ($moduleName !== 'default') {
<style>
<?= StyleSheet::forPdf() ?>
</style>
<base href="<?= $this->serverUrl() ?>">
</head>
<body>
<script type="text/php">