Move trip URL to .env

This commit is contained in:
Ben Goldsworthy 2022-08-24 10:41:43 +00:00
parent 08beeced35
commit 045a42c250
2 changed files with 3 additions and 1 deletions

View file

@ -58,6 +58,8 @@ return [
'asset_url' => env('ASSET_URL'),
'trip' => env('TRIP'),
/*
|--------------------------------------------------------------------------
| Application Timezone

View file

@ -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());