Revert "Merge pull request #784 from LinkStackOrg/laravel-10"

This reverts commit 2e193ea1a6, reversing
changes made to bcca99bf7f.
This commit is contained in:
Julian Prieber 2024-06-18 14:56:25 +02:00
parent 58dab38404
commit 28c6774159
2 changed files with 14 additions and 18 deletions

View File

@ -2,7 +2,7 @@
namespace App\Http\Middleware; namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustProxies as Middleware; use Fideloper\Proxy\TrustProxies as Middleware;
use Illuminate\Http\Request; use Illuminate\Http\Request;
class TrustProxies extends Middleware class TrustProxies extends Middleware
@ -19,10 +19,5 @@ class TrustProxies extends Middleware
* *
* @var int * @var int
*/ */
protected $headers = 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;
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;
} }

View File

@ -5,32 +5,33 @@
"keywords": ["link"], "keywords": ["link"],
"license": "GPL-3.0-or-later", "license": "GPL-3.0-or-later",
"require": { "require": {
"php": ">=8.1", "php": ">=8.0",
"awssat/laravel-visits": "^6.0", "awssat/laravel-visits": "^6.0",
"codedge/laravel-selfupdater": "^3.8.1", "codedge/laravel-selfupdater": "^3.6",
"cohensive/oembed": "^0.17", "cohensive/oembed": "^0.17",
"doctrine/dbal": "^3.8.0", "doctrine/dbal": "^3.0",
"geo-sot/laravel-env-editor": "^2.1.1", "fideloper/proxy": "^4.4",
"geo-sot/laravel-env-editor": "^2.0",
"guzzlehttp/guzzle": "^7.4", "guzzlehttp/guzzle": "^7.4",
"jeroendesloovere/vcard": "^1.7", "jeroendesloovere/vcard": "^1.7",
"laravel/framework": "^10.42.0", "laravel/framework": "^9.52.4",
"laravel/socialite": "^5.5", "laravel/socialite": "^5.5",
"laravel/tinker": "^2.5", "laravel/tinker": "^2.5",
"livewire/livewire": "^2.12", "livewire/livewire": "^2.12",
"rappasoft/laravel-livewire-tables": "^2.15", "rappasoft/laravel-livewire-tables": "^2.15",
"simplesoftwareio/simple-qrcode": "~4", "simplesoftwareio/simple-qrcode": "~4",
"spatie/laravel-backup": "^8.5.1" "spatie/laravel-backup": "^8.17"
}, },
"require-dev": { "require-dev": {
"barryvdh/laravel-ide-helper": "^2.12", "barryvdh/laravel-ide-helper": "^2.12",
"fakerphp/faker": "^1.9.1", "fakerphp/faker": "^1.9.1",
"laravel-lang/common": "^6.1.0", "laravel-lang/common": "^2.0",
"laravel/breeze": "^1.1", "laravel/breeze": "^1.1",
"laravel/sail": "^1.27.2", "laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.2", "mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^7.10.0", "nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^10.5.9", "phpunit/phpunit": "^9.3.3",
"spatie/laravel-ignition": "^2.4.1" "spatie/laravel-ignition": "^1.0"
}, },
"autoload": { "autoload": {
"files": [ "files": [