fix non default language home path

line 337
if slashUrls is disabled for the hompage url are generated with a trailing slash (i.e. /es/) and the consequence is a redirect ( to /es)

please also verify:
should we always use wire('config')->rootPageID when checking for the root page instead of the integer 1?

kind regards