sebastiangreger / kirby3-micropublisher

An adaptable Micropub endpoint for Kirby3.
MIT License
13 stars 2 forks source link

fix: provide correct micropub endpoint on multilang sites #3

Closed mauricerenck closed 4 years ago

mauricerenck commented 4 years ago

Sorry for the reformatting, I just saw it and dind't want to reconfigure my IDE. I just added a '/' to the site->url() this will prevent adding a language-code to the micropub endpoint url on multilang sites (which won't work)

site()->url('/')

sebastiangreger commented 4 years ago

:bowing_man: Thank you for pointing out this oversight! I replaced kirby()->url() with kirby()->urls()->base() across a few places in the plugin → fixed in v1.0-beta.2