Moved url config for api around