Make dropdown api urls relative