Update netbox.php
This commit is contained in:
parent
b9215b2fb6
commit
69b58b646e
1 changed files with 4 additions and 0 deletions
|
|
@ -12,10 +12,14 @@ return [
|
||||||
],
|
],
|
||||||
|
|
||||||
'client_options' => [
|
'client_options' => [
|
||||||
|
'base_uri' => env('NETBOX_DEFAULT_URL'),
|
||||||
\GuzzleHttp\RequestOptions::COOKIES => true,
|
\GuzzleHttp\RequestOptions::COOKIES => true,
|
||||||
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 10,
|
\GuzzleHttp\RequestOptions::CONNECT_TIMEOUT => 10,
|
||||||
\GuzzleHttp\RequestOptions::TIMEOUT => 10,
|
\GuzzleHttp\RequestOptions::TIMEOUT => 10,
|
||||||
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => false,
|
\GuzzleHttp\RequestOptions::ALLOW_REDIRECTS => false,
|
||||||
|
'headers' => [
|
||||||
|
'Authorization' => "Token ".env('NETBOX_DEFAULT_KEY'),
|
||||||
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue