use `production` named argument to return TEST or PRODUCTION url