Media module, users hardening, README and token ledger
This commit is contained in:
1 parent
f86f5aea28
commit
9f2a21fa1f
22 files changed
+827
-24
No files matched your search
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use IriksIT\Manager\Modules\Media\MediaFileController;
|
||||
|
||||
// Files of the media library, for visitors. No session and no cookies: this is a file, not a
|
||||
// page, and the browser may cache it for good. The address ends in /view on purpose: web servers
|
||||
// tend to answer anything that ends in .jpg themselves and never ask the app.
|
||||
Route::get('/media-files/{media}/{filename}/view', MediaFileController::class)
|
||||
->whereNumber('media')
|
||||
->middleware('throttle:media-files')
|
||||
->name('manager.media.file');
|
||||
Reference in new issue
Block a user