change private pub url to localhost