Buckets:
| 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'); | |
| } | |
| } | |
Xet Storage Details
- Size:
- 409 Bytes
- Xet hash:
- 1f56ad9b425b2b10f302ec3e5a303ffdba0a0d85d6d6af9156cb59ee63796df7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.