add the endpoint name to constants in h2o-r