1
0
forked from metin2/web

Added static content

This commit is contained in:
2023-07-23 01:14:14 +03:00
commit c048171282
475 changed files with 21967 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<?php
namespace App\Http\Middleware;
use Illuminate\Auth\Middleware\Authenticate as Middleware;
use Illuminate\Http\Request;
class Authenticate extends Middleware
{
/**
* Get the path the user should be redirected to when they are not authenticated.
*/
protected function redirectTo(Request $request): ?string
{
return $request->expectsJson() ? null : route('login');
}
}