Make resource default to localhost