Skip to content

Instantly share code, notes, and snippets.

@jhowbhz
Created February 5, 2019 19:12
Show Gist options
  • Save jhowbhz/2d7cf9dfc89c581554e65da856855a58 to your computer and use it in GitHub Desktop.
Save jhowbhz/2d7cf9dfc89c581554e65da856855a58 to your computer and use it in GitHub Desktop.
ssl-middleware
protected $middleware = [
'Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode',
'Illuminate\Cookie\Middleware\EncryptCookies',
'Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse',
'Illuminate\Session\Middleware\StartSession',
'Illuminate\View\Middleware\ShareErrorsFromSession',
// adicionar esta linha
'MyApp\Http\Middleware\HttpsProtocol'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment