changing api links back to localhost