Error trying to deploy strapi on heroku. grep and cut no recognized

Viewed 645
1 Answers

You just have to set the URL of your Heroku app to the environment variable HEROKU_URL If you don't know the URL, just type the command heroku info -s in the console.

It will list down a series of values like key=value. In that list, you can see an entry like web_url=https://xxx-yyy-nnnn.herokuapp.com/

Once you get this value, you can just type the command to set the env variable as heroku config:set HEROKU_URL=https://xxx-yyy-nnnn.herokuapp.com/

Related