From b0e3cc3c7043134f1040c8337b0574845412851a Mon Sep 17 00:00:00 2001 From: Mahmoud Zalt Date: Tue, 22 Sep 2015 13:23:00 +0300 Subject: [PATCH] add app url to the config and set it to laravel.dev --- laravel/.env.example | 1 + laravel/config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/laravel/.env.example b/laravel/.env.example index 7c239d68..b27bbbad 100644 --- a/laravel/.env.example +++ b/laravel/.env.example @@ -1,5 +1,6 @@ APP_ENV=local APP_DEBUG=true +APP_URL=http://laravel.dev APP_KEY=SomeRandomString CACHE_DRIVER=file diff --git a/laravel/config/app.php b/laravel/config/app.php index 15c75aa5..85eb8466 100644 --- a/laravel/config/app.php +++ b/laravel/config/app.php @@ -26,7 +26,7 @@ return [ | */ - 'url' => 'http://localhost', + 'url' => env('APP_URL', 'http://localhost'), /* |--------------------------------------------------------------------------