What happens if `basePath` already has a trailing slash?