Fixed: Potential issue with routing on HTTPS when the site is in a subfolder