Open mtdvlpr opened 2 months ago
Currently, when a base url is configured, the findCurrentIndex function compares p.url (/relative-url) with route.path (/base/relative-url) which causes the current, previous and next pages to not be found.
findCurrentIndex
p.url
route.path
This PR should fix that.
Visit the deploys page to approve it
@pirog, could you please review this when you get the time? :)
Currently, when a base url is configured, the
findCurrentIndex
function comparesp.url
(/relative-url) withroute.path
(/base/relative-url) which causes the current, previous and next pages to not be found.This PR should fix that.