APP_URL added to Environment Configuration
@@ -1,6 +1,7 @@
APP_ENV=local
APP_DEBUG=true
APP_KEY=SomeRandomString
+APP_URL=http://localhost
DB_HOST=127.0.0.1
DB_DATABASE=homestead
@@ -39,7 +39,7 @@ return [
|
*/
- 'url' => 'http://localhost',
+ 'url' => env('APP_URL', 'http://localhost'),
/*
|--------------------------------------------------------------------------