Skip to content

Commit

Permalink
Merge pull request #92 from laravel/user-agent
Browse files Browse the repository at this point in the history
Set a User-Agent string
  • Loading branch information
jbrooksuk authored Sep 27, 2024
2 parents 0d53aed + 54cbb27 commit e1171f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Repositories/ForgeRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ protected function ensureApiToken()
'Authorization' => 'Bearer '.$token,
'Accept' => 'application/json',
'Content-Type' => 'application/json',
'User-Agent' => 'Laravel Forge CLI/v'.config('app.version'),
],
]) : null;

Expand Down

0 comments on commit e1171f2

Please sign in to comment.