Add APP_URL env variable ... like the latest versions of laravel

This commit is contained in:
mburguet 2016-02-17 10:17:01 -05:00
parent 90b87d6acf
commit e9ed238630
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
APP_ENV=production
APP_DEBUG=true
APP_URL=http://localhost
# Database connection name, which corresponds to the database driver.

View file

@ -29,7 +29,7 @@ return [
|
*/
'url' => 'http://localhost',
'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------