我以前的 Heroku 应用程序名称位于:
shielded-meadow-9293.heroku.com
这是我创建 Heroku Remote 并启动 dyno 时的名称。一切顺利后,我将名称更改为
platformdesignmadness.heroku.com
该站点可以工作,但是在同一个终端中,当我执行诸如heroku ps
我得到一个 $> ! Couldn't find that app.
错误。为什么是这样?
最佳答案
在您的终端中:
git remote rm heroku
git remote add heroku git@heroku.com:yourappname.git
见 here
Heroku 文档 here .
关于django - 重命名 Heroku 的主机名,现在找不到应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23160131/