Skip to content

Commit

Permalink
Cleaned up routes file
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Dec 6, 2016
1 parent 7c4d0a2 commit 71e2b1f
Show file tree
Hide file tree
Showing 4 changed files with 553 additions and 551 deletions.
4 changes: 4 additions & 0 deletions app/Http/Middleware/StartupCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ class StartupCheck
*/
public function handle(Request $request, Closure $next)
{
define('CONTACT_EMAIL', config('mail.from.address'));
define('CONTACT_NAME', config('mail.from.name'));
define('SITE_URL', config('app.url'));

// Set up trusted X-Forwarded-Proto proxies
// TRUSTED_PROXIES accepts a comma delimited list of subnets
// ie, TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
Expand Down
Loading

0 comments on commit 71e2b1f

Please sign in to comment.