Update netbox.php

This commit is contained in:
Tony Roy 2021-03-12 14:21:23 -04:00 committed by GitHub
commit 27ca9c1ef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,12 +12,11 @@ return [
],
'client_options' => [
'base_uri' => env('NETBOX_DEFAULT_URL'),
\GuzzleHttp\RequestOptions::COOKIES => true,
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 10,
\GuzzleHttp\RequestOptions::TIMEOUT => 10,
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => false,
'headers' => [
\GuzzleHttp\RequestOptions::HEADERS => [
'Authorization' => "Token ".env('NETBOX_DEFAULT_KEY'),
],
],