Adding button to deploy to heroku

To solve the problem of ports I made a condition to use the ENV `PORT` value returned by most clounds otherwise use the default port 80.

I currently use this implementation without any problems.

closes #88 and closes #114
This commit is contained in:
Vinícius Francisco Xavier
2021-09-07 14:50:50 -03:00
parent 78c06f8fc4
commit bdc9a49021
3 changed files with 8 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@
localtunnel exposes your localhost to the world for easy testing and sharing! No need to mess with DNS or deploy just to have others test out your changes.
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/localtunnel/server)
This repo is the server component. If you are just looking for the CLI localtunnel app, see (https://github.com/localtunnel/localtunnel).
## overview ##