I have just performed a brand new install on Ubuntu 22.04 via docker compose.
After creating an invoice, if I click the “View PDF” , it gets an error
XMLHttpRequest error.
The preview of the PDF in the window shows the PDF file.
The env file has
APP_DEBUG=false
REQUIRE_HTTPS=false
PHANTOMJS_PDF_GENERATION=false
PDF_GENERATOR=snappdf
TRUSTED_PROXIES=‘*’