diff --git a/config/app.php b/config/app.php index ef76a7e..f8008d4 100644 --- a/config/app.php +++ b/config/app.php @@ -58,6 +58,8 @@ return [ 'asset_url' => env('ASSET_URL'), + 'trip' => env('TRIP'), + /* |-------------------------------------------------------------------------- | Application Timezone diff --git a/routes/web.php b/routes/web.php index c7aedef..f563875 100644 --- a/routes/web.php +++ b/routes/web.php @@ -20,7 +20,7 @@ Route::get('/', function () { 'timeout' => 3.0 ]); - $response = $client->get('trip/q0mwldvenxq09p2x18nj/user/zmld8ko6qy7d9j3xvq10/json'); + $response = $client->get('trip/'.config('app.trip').'/user/zmld8ko6qy7d9j3xvq10/json'); if ($response->getStatusCode() == 200) { $data = json_decode($response->getBody());