重命名了Heroku的主机名,现在找不到应用程序

2024-01-19

我之前的 Heroku 应用程序名称位于:

shielded-meadow-9293.heroku.com

这是我创建 Heroku 遥控器并启动测功机时的名称。一切顺利后,我把名字改成了

platformdesignmadness.heroku.com

该网站可以工作,但是在同一个终端中,当我执行以下命令时

heroku ps

I get a $> ! Couldn't find that app.错误。为什么是这样?


在您的终端中:

git remote rm heroku
git remote add heroku [email protected] /cdn-cgi/l/email-protection:yourappname.git

See here https://stackoverflow.com/questions/7615807/renamed-heroku-app-from-website-now-its-not-found

Heroku 文档here https://devcenter.heroku.com/articles/renaming-apps#updating-git-remotes.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

重命名了Heroku的主机名,现在找不到应用程序 的相关文章

随机推荐