fixed api domain routing