Closed JuKra00 closed 2 years ago
Right now, site()->url() is used to generate the download endpoint url. This does fail on multi-language sites, if the url contains a language slug.
site()->url()
I propose to use kirby->url() instead, to be sure to reach the download route on any installation.
kirby->url()
Right now,
site()->url()
is used to generate the download endpoint url. This does fail on multi-language sites, if the url contains a language slug.I propose to use
kirby->url()
instead, to be sure to reach the download route on any installation.