Change API to use correct host for uploads