mirror of
https://github.com/exane/not-gwent-online
synced 2025-06-17 18:54:20 +00:00
assets
client
public
server
site
client
public
server
app
Console
Events
Exceptions
Http
Controllers
Middleware
Requests
Kernel.php
routes.php
Jobs
Listeners
Providers
User.php
bootstrap
config
database
storage
tests
.env.example
artisan
composer.json
composer.lock
phpspec.yml
phpunit.xml
server.php
test
.gitignore
gulpfile.js
package.json
34 lines
990 B
PHP
Executable File
34 lines
990 B
PHP
Executable File
<?php
|
|
|
|
namespace Gwent\Http;
|
|
|
|
use Illuminate\Foundation\Http\Kernel as HttpKernel;
|
|
|
|
class Kernel extends HttpKernel
|
|
{
|
|
/**
|
|
* The application's global HTTP middleware stack.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $middleware = [
|
|
\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
|
|
\Gwent\Http\Middleware\EncryptCookies::class,
|
|
\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
|
|
\Illuminate\Session\Middleware\StartSession::class,
|
|
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
|
|
\Gwent\Http\Middleware\VerifyCsrfToken::class,
|
|
];
|
|
|
|
/**
|
|
* The application's route middleware.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $routeMiddleware = [
|
|
'auth' => \Gwent\Http\Middleware\Authenticate::class,
|
|
'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class,
|
|
'guest' => \Gwent\Http\Middleware\RedirectIfAuthenticated::class,
|
|
];
|
|
}
|