I just developed a website using laravel and I want to host it. But when I deployed it on server it's shows errors path Or details errors. It never redirect to 404 Or 405 error.
Somebody helps me how to do.
CodePudding user response:
You are in development mode so what you are seeing is debbuging. Gto to your project root directory and search for .env file edit these lines.
APP_DEBUG=true
Into
APP_DEBUG=false
APP_ENV=production