Closed ma2t closed 4 years ago
If you're using InvoiceNinja on a "invoices." subdomain, this str_replace is replacing the API url by "download.domain.com".
I added "/" before and after "invoices" in order to just replace the endpoint "/api/v1/invoices/" by "/api/v1/download/".
Looks good, thanks!
If you're using InvoiceNinja on a "invoices." subdomain, this str_replace is replacing the API url by "download.domain.com".
I added "/" before and after "invoices" in order to just replace the endpoint "/api/v1/invoices/" by "/api/v1/download/".