bnomei / kirby3-qrcode

Generate QRCodes easily.
https://forum.getkirby.com/t/plugin-qr-code-field-and-page-method/6798
MIT License
12 stars 3 forks source link

fix: Reach download route on multi-language sites #28

Closed JuKra00 closed 2 years ago

JuKra00 commented 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.

I propose to use kirby->url() instead, to be sure to reach the download route on any installation.