changed ac api url const to be relative