Skip to content

Commit

Permalink
use APP_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
chrononyan committed Sep 10, 2021
1 parent 650360c commit ed65094
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions app/Http/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
|
*/

$app_url = config('app.url');
if (!empty($app_url)) {
URL::forceRootUrl($app_url);
}

//PUBLIC Routes

//Redirect routes
Expand Down
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
|
*/

'url' => 'https://data8.checkin.colinschoen.me',
'url' => env('APP_URL'),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit ed65094

Please sign in to comment.