I think that might answer your question :
I have tried the above one but, no use still getting the same issue.
APP_KEY to be defined as an environment variable.
Generate one in your local terminal with
Open your .env file. You should now have
Read this to learn how to add environment variables to Heroku. Add the APP_KEY environment variable.
Thanks @ LeCoupa
I have already APP_KEY in .env file
just i run this command, its working
heroku config:set APP_KEY= <your Adonis APP_KEY>
Thanks a lot
Yes, I don’t think Heroku is reading the .env file. Always define your environment variable in production with:
heroku config:set ...