I have the worked app (Availible here tandtpartners.herokuapp.com)
But I've got the
remote: ! The requested API endpoint was not found. Are you using the right HTTP verb (i.e. GET vs. POST), and did you specify your intended version with the Accept header?
error while trying to deploy the app again.
Even when I cloned this app to another folder and added some !
to index.html
, I received the same error.
C:heroku2andtpartners>git status
On branch master
Your branch is up-to-date with 'heroku/master'.
Changes to be committed:
(use "git reset HEAD <file>..." to unstage)
modified: hello/templates/index.html
C:heroku2andtpartners>git commit -m "Changed only index html"
[master 8a56e0d] Changed only index html
1 file changed, 1 insertion(+), 1 deletion(-)
C:heroku2andtpartners>git commit -m "Changed only index html"
[master 8a56e0d] Changed only index html
1 file changed, 1 insertion(+), 1 deletion(-)
C:heroku2andtpartners>git push heroku master
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 432 bytes | 432.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: ! The requested API endpoint was not found. Are you using the right HTTP verb (i.e. `GET` vs. `POST`), and did you specify your intended version with the `Accept` header?
remote:
To https://git.heroku.com/tandtpartners.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/tandtpartners.git'
What can I do with that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…