Restart your Heroku app with simple one-line code!
npm i heroku-restarter
require("heroku-restarter")("API_KEY", "APP_NAME").restart()
look how simple it is
Parameter | Type | Optional | Description |
---|---|---|---|
None | - | - | - |
Parameter | Type | Optional | Description |
---|---|---|---|
id | string | yes | Specify "dyno id" to restart (leave this blank to restart all dynos) |
🧑💻 Kane
- Github @Gary50613
Feel free to open issue or join my discord server