add trust proxy middleware

This commit is contained in:
Taylor Otwell
2017-03-29 10:05:16 -05:00
parent 864a82918e
commit e23a1d284f
6 changed files with 41 additions and 10 deletions

View File

@@ -2,9 +2,9 @@
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends BaseTrimmer
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.