fixes localhost to herokuapp