In Heroku you must have a [server]
section in config.toml
, with headless
and port
entries as shown. Also remove sh setup.sh &&
from the Procfile
as you donβt have a setup.sh
in your repo.
However, I would keep the setup.sh
and Procfile
. But, change the [server]
line to have >>
instead of >
. This will append the lines to your existing config.toml
file.