Heroku don't work with tinyhttp
See original GitHub issueDescribe the bug
I write a simple web service using tinyhttp and i decided to deploy on heroku. but guess what, heroku don’t compatible with tinyhttp. when i replaced tinyhttp with express, everything works fine.
To Reproduce
Steps to reproduce the behavior:
- write webservice
- add Procfile
- set web: yarn start
- git add -A
- git push heroku master
Expected behavior
Working Fin!
Versions
node
: 14@tinyhttp/app
: 0.4.1
Additional context
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Heroku don't work with tinyhttp · Issue #85 - GitHub
Describe the bug I write a simple web service using tinyhttp and i decided to deploy on heroku. but guess what, heroku don't...
Read more >Troubleshooting Node.js Deploys - Heroku Dev Center
Your Node.js deploy failed - now what? Start with these simple steps to troubleshoot a build issue. Check the buildpack.
Read more >Deploy node.js app on heroku succeeds but doesn't work
heroku open opens immonow.herokuapp.com however, I tried to change the port to 80 but then it wouldn't even work locally.
Read more >LogRocket Blog - For Frontend Developers and Web App ...
Building stateful web apps without React. To gain insight into how larger frameworks (e.g., React, Angular, Vue) work, let's look at how to...
Read more >Deploying a Node.js app on Heroku within Minutes
If it is working you will see the above. We need to add the project to GitHub first. So, let's add .gitignore file...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
My friend helped me to find out the bug. tinyhttp binds to localhost by default, while it must bind to 0.0.0.0
bugfix is to be released soon 😄
Wow, such a fast fix 😃 I test it and it works.