Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel APP_URL not changing

Tags:

php

laravel

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?

like image 601
Jamie Avatar asked Oct 18 '22 17:10

Jamie


1 Answers

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

php artisan serve 
like image 91
Rid Islam Avatar answered Nov 02 '22 09:11

Rid Islam