Using the new pathPrefix parameter to redirect the user to the correct endpoint.