Verified Commit ad296316 authored by FabioWidmer's avatar FabioWidmer
Browse files

Add User-Agent header to proxy

parent b68a1ffc
......@@ -52,6 +52,9 @@ class ProxyController extends Controller {
[
RequestOptions::READ_TIMEOUT => 90,
RequestOptions::TIMEOUT => 90,
RequestOptions::HEADERS => [
'User-Agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
],
]
);
......
......@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d345fd8f76dd77fc3b92a0b264f45724",
"content-hash": "e69b227f1ae917de05f7ce379dd5baed",
"packages": [
{
"name": "asm89/stack-cors",
......@@ -833,16 +833,16 @@
},
{
"name": "laravel/framework",
"version": "v8.12.3",
"version": "v8.13.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/framework.git",
"reference": "6707480c5f0db7aa07537f9ad93255b64b65b85e"
"reference": "37a0abd4f3dbc51e2256296b45f8be72c8fe2196"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/framework/zipball/6707480c5f0db7aa07537f9ad93255b64b65b85e",
"reference": "6707480c5f0db7aa07537f9ad93255b64b65b85e",
"url": "https://api.github.com/repos/laravel/framework/zipball/37a0abd4f3dbc51e2256296b45f8be72c8fe2196",
"reference": "37a0abd4f3dbc51e2256296b45f8be72c8fe2196",
"shasum": ""
},
"require": {
......@@ -992,20 +992,20 @@
"framework",
"laravel"
],
"time": "2020-10-29T22:01:29+00:00"
"time": "2020-11-03T14:13:19+00:00"
},
{
"name": "laravel/sanctum",
"version": "v2.7.0",
"version": "v2.8.0",
"source": {
"type": "git",
"url": "https://github.com/laravel/sanctum.git",
"reference": "43f05df591e5099563520ab018cca4ac383681cd"
"reference": "b6420b0d4beace16f6e8248b221fd0b0deee47a1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/laravel/sanctum/zipball/43f05df591e5099563520ab018cca4ac383681cd",
"reference": "43f05df591e5099563520ab018cca4ac383681cd",
"url": "https://api.github.com/repos/laravel/sanctum/zipball/b6420b0d4beace16f6e8248b221fd0b0deee47a1",
"reference": "b6420b0d4beace16f6e8248b221fd0b0deee47a1",
"shasum": ""
},
"require": {
......@@ -1013,12 +1013,12 @@
"illuminate/contracts": "^6.9|^7.0|^8.0",
"illuminate/database": "^6.9|^7.0|^8.0",
"illuminate/support": "^6.9|^7.0|^8.0",
"php": "^7.2"
"php": "^7.2|^8.0"
},
"require-dev": {
"mockery/mockery": "^1.0",
"orchestra/testbench": "^4.0|^5.0|^6.0",
"phpunit/phpunit": "^8.0"
"phpunit/phpunit": "^8.0|^9.3"
},
"type": "library",
"extra": {
......@@ -1052,7 +1052,7 @@
"laravel",
"sanctum"
],
"time": "2020-10-20T18:37:43+00:00"
"time": "2020-11-03T19:11:54+00:00"
},
{
"name": "laravel/tinker",
......@@ -6927,7 +6927,8 @@
"prefer-lowest": false,
"platform": {
"php": "^7.3|^8.0",
"ext-zip": "*"
"ext-zip": "*",
"ext-json": "*"
},
"platform-dev": [],
"plugin-api-version": "1.1.0"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment