Skip to content

Commit

Permalink
Merge branch 'release/4.0.0-beta.3' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Apr 17, 2022
2 parents 338f6be + 0a760d8 commit 7213a56
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Twigpack Changelog

## 4.0.0-beta.3 - 2022.04.17
### Fixed
* Fix incorrect `User-Agent` header that could cause an error to be thrown

## 4.0.0-beta.2 - 2022.03.04

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "nystudio107/craft-twigpack",
"description": "Twigpack is a bridge between Twig and webpack, with manifest.json & webpack-dev-server HMR support",
"type": "craft-plugin",
"version": "4.0.0-beta.2",
"version": "4.0.0-beta.3",
"keywords": [
"craftcms",
"craft-plugin",
Expand All @@ -25,7 +25,7 @@
}
],
"require": {
"craftcms/cms": "^4.0.0-alpha"
"craftcms/cms": "^4.0.0-beta.1"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/helpers/Manifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ function () use ($path, $callback) {
try {
$response = $client->request('GET', $path, [
RequestOptions::HEADERS => [
'User-Agent' => "User-Agent:Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13",
'User-Agent' => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13",
'Accept' => '*/*',
],
]);
Expand Down

0 comments on commit 7213a56

Please sign in to comment.