Closed saif-malik-01 closed 2 years ago
hmm why change the web: gunicorn run:run to app? Also, do elaborate on the error ill merge then. Also when I was trying to deploy it I faced many errors so simply changing run to app resolved it for you ?
According to your code server will first find the file run and then find the route reference variable run. But in run file the route reference variable is app. So, it should be from :
web : gunicorn run:run
To :
web: gunicorn run:app
Then after it run properly on heroku. I tested.
Ohk will try it out, merging it as of now. (btw if it helped you, please consider following me, and starring the repository, helps me as a maintainer and would help me in further projects too, thanks!)
It will get successfully deployed but whenever the user make a request it throws an error because it doesn't get right route variable.