Arnaud
Explore posts from serversUse Notification for error 500 in production
Hello Dennis, in production I have APP_DEBUG=false, however I still have this big gray screen.
So if somebody is interested, I found a solution. In
resources/js/app.js
Insert the following code :
And in .env :
With vite app debug, you can still display regular message in your dev env but use the notification in your prod env.
You can customize every error message. For my case it's nice, so I receive on Flare the error but user is not bother.6 replies