Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Console/Commands/StaticWarm.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ class StaticWarm extends Command
{--queue : Queue the requests}
{--u|user= : HTTP authentication user}
{--p|password= : HTTP authentication password}
{--base_uri= : Base URI to use for all requests}
{--insecure : Skip SSL verification}
{--uncached : Only warm uncached URLs}
{--max-depth= : Maximum depth of URLs to warm}
Expand Down Expand Up @@ -131,6 +132,7 @@ private function concurrency(): int
private function clientConfig(): array
{
return [
'base_uri' => $this->option('base_uri') ?: config('app.url'),
'verify' => $this->shouldVerifySsl(),
'auth' => $this->option('user') && $this->option('password')
? [$this->option('user'), $this->option('password')]
Expand Down