<FilesMatch "\.(jpeg|jpg|png|gif|swg|bmp|xml)$">
Header set Access-Control-Allow-Origin: "https://tilda.yh-web.space"
Header set Access-Control-Allow-Methods: "POST, GET, OPTIONS"
Header set Access-Control-Allow-Headers: "Content-Type"
Header set Vary: "Origin"
</FilesMatch>
$result = $pdf->Output('example1.pdf','D');