Move trip URL to .env
This commit is contained in:
parent
08beeced35
commit
045a42c250
2 changed files with 3 additions and 1 deletions
|
@ -58,6 +58,8 @@ return [
|
|||
|
||||
'asset_url' => env('ASSET_URL'),
|
||||
|
||||
'trip' => env('TRIP'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Timezone
|
||||
|
|
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue