Laravel localhost works, but heroku gives 500 error

前端 未结 6 2254
旧巷少年郎
旧巷少年郎 2021-02-15 13:18

I\'m working in a project that needs to convert some data from excel to database. This is working fine in local host with laravel, but when goes to heroku, it gives me a 500 int

6条回答
  •  礼貌的吻别
    2021-02-15 13:45

    Try this heroku config:set APP_DEBUG=true then visit your app and see what's exactly is the error. Most likely is database connection failing or missing .env key.

提交回复
热议问题