使用 HTTP 2
This commit is contained in:
parent
b268d28c01
commit
555049d803
@ -21,7 +21,6 @@ public function register()
|
||||
//
|
||||
|
||||
require_once app()->basePath('app') . '/Helpers.php';
|
||||
|
||||
}
|
||||
|
||||
public function boot()
|
||||
@ -38,6 +37,8 @@ public function boot()
|
||||
return Http::withoutVerifying()->withHeaders([
|
||||
'X-Remote-Api-Token' => $api_token,
|
||||
'Content-Type' => 'application/json'
|
||||
])->withOptions([
|
||||
'version' => 2,
|
||||
])->baseUrl($url);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user