Skip to content

Commit

Permalink
pull url from config
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Dec 5, 2016
1 parent 073068c commit 126adb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected function prepareUrlForRequest($uri)
}

if (! Str::startsWith($uri, 'http')) {
$uri = $this->baseUrl.'/'.$uri;
$uri = config('app.url').'/'.$uri;
}

return trim($uri, '/');
Expand Down

0 comments on commit 126adb7

Please sign in to comment.