Initial commit, using Laravel

This commit is contained in:
Gregorio Chiko Putra
2019-05-13 13:20:37 +07:00
commit d18cb0da59
88 changed files with 13379 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The headers that should be used to detect proxies.
*
* @var int
*/
protected $headers = Request::HEADER_X_FORWARDED_ALL;
}