add config option for local vs deployment url