use the base url in the browser not the relative

By prefixing the path with a / we ensure that we do not use the relative path in the browser but the absolute base url instead.