Skip to content
Advertisement

Laravel APP_URL not changing

I’m using Laravel 5.4 and I’ve changed APP_URL in my .env file to my own domain. But when I send for example the password reset mail I still receive localhost?

http://localhost/wachtwoord/reset/508c20cff08eb3c619c16c2f55d2695543cecfac1488841c40d31b0219de6479

I already did php artisan config:clear but that does not work!

What could be the case?

Advertisement

Answer

you should have restart your app after changing env every time with this command

php artisan serve 
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement