remove "/" to url in setDefaultConfig