@ryleigh
To change the base URL in Laravel, you can update the APP_URL
variable in the .env
file located in the root directory of your Laravel project.
Now, Laravel will use the new base URL that you have set in the .env
file. Remember to clear the cache after making changes to the .env
file by running the following command in your terminal:
1
|
php artisan config:cache |
This will ensure that Laravel picks up the changes you made to the .env
file.