Updated to latest laravel and php 8.2
This commit is contained in:
parent
e311429173
commit
c4efce426d
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
namespace App\Http\Middleware;
|
namespace App\Http\Middleware;
|
||||||
|
|
||||||
use Fideloper\Proxy\TrustProxies as Middleware;
|
use Illuminate\Http\Middleware\TrustProxies as Middleware;
|
||||||
use Illuminate\Http\Request;
|
use Illuminate\Http\Request;
|
||||||
|
|
||||||
class TrustProxies extends Middleware
|
class TrustProxies extends Middleware
|
||||||
|
@ -19,5 +19,10 @@ class TrustProxies extends Middleware
|
||||||
*
|
*
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
protected $headers = Request::HEADER_X_FORWARDED_ALL;
|
protected $headers =
|
||||||
|
Request::HEADER_X_FORWARDED_FOR |
|
||||||
|
Request::HEADER_X_FORWARDED_HOST |
|
||||||
|
Request::HEADER_X_FORWARDED_PORT |
|
||||||
|
Request::HEADER_X_FORWARDED_PROTO |
|
||||||
|
Request::HEADER_X_FORWARDED_AWS_ELB;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,23 +8,21 @@
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.2.5",
|
"php": ">=8.2",
|
||||||
"doctrine/dbal": "^2.10",
|
"doctrine/dbal": ">=2.10",
|
||||||
"fideloper/proxy": "^4.2",
|
"fideloper/proxy": ">=4.2",
|
||||||
"fruitcake/laravel-cors": "^1.0",
|
"fruitcake/laravel-cors": ">=1.0",
|
||||||
"guzzlehttp/guzzle": "^6.3",
|
"guzzlehttp/guzzle": ">=6.3",
|
||||||
"jeremykenedy/laravel-roles": "^3.0",
|
"jeremykenedy/laravel-roles": ">=3.0",
|
||||||
"jeremykenedy/laravel-users": "4.1.0",
|
"jeremykenedy/laravel-users": ">=4.1.0",
|
||||||
"laravel/framework": "^7.0",
|
"laravel/framework": "^9.52",
|
||||||
"laravel/tinker": "^2.0",
|
"laravel/tinker": ">=2.7",
|
||||||
"laravel/ui": "^2.0"
|
"laravel/ui": ">=2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"facade/ignition": "^2.0",
|
"mockery/mockery": ">=1.3.1",
|
||||||
"fzaninotto/faker": "^1.9.1",
|
"nunomaduro/collision": ">=4.1",
|
||||||
"mockery/mockery": "^1.3.1",
|
"phpunit/phpunit": ">=8.5"
|
||||||
"nunomaduro/collision": "^4.1",
|
|
||||||
"phpunit/phpunit": "^8.5"
|
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"optimize-autoloader": true,
|
"optimize-autoloader": true,
|
||||||
|
|
6555
composer.lock
generated
6555
composer.lock
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user