adapt config for routing api