Hi there! How did you set up your application environments under bootstrap/start.php ?
If your running on local environment you might have to create a seperate config file under app/config/local/app.php and set the Application URL for artisan right there.
I think you can even specifiy the env when running your artisan command like this
# php artisan some:task --env=local
hope that helps.
Hi all!
I'm having the same issue. Does somebody have a workaround?
Hi,
Encountered same issue. Also posted question here: http://stackoverflow.com/questions/25750604/laravel-artisan-gives-wrong-base-url
Moved past this using Config::get('app.url') instead.
Hope this helps!
Hi medowlock,
Thanks, I did the same workaround as you suggested, but would be good to have this corrected in future laravel versions.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community