From ed88aa841ac48ec68d6b6a799620f183b5b5bad6 Mon Sep 17 00:00:00 2001 From: James Brooks Date: Sun, 19 Apr 2015 09:16:59 +0100 Subject: [PATCH] Added APP_URL config --- .env.example | 1 + config/app.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index b11e49f7..d3a86cd4 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,6 @@ APP_ENV=local APP_DEBUG=true +APP_URL=http://localhost APP_KEY=SomeRandomString DB_DRIVER=sqlite diff --git a/config/app.php b/config/app.php index e2eb60b2..9b10f287 100644 --- a/config/app.php +++ b/config/app.php @@ -35,7 +35,7 @@ return [ | */ - 'url' => 'http://localhost', + 'url' => env('APP_URL', 'http://localhost'), /* |--------------------------------------------------------------------------