2.0.0
check if origin url is string/object