change heroku url code example
Example 1: rename heroku app
$ heroku apps:rename newname
Renaming oldname to newname... done
http://newname.herokuapp.com/ | [email protected]:newname.git
Git remote heroku updated
Example 2: heroku rename
heroku apps:remane --app <old-project-name> <new-project-name>