add redirect from api-endpoint to cf-api-endpoint