1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-05 20:34:03 +00:00

Uses proper config key

This commit is contained in:
hackerESQ 2021-04-13 11:54:04 -05:00 committed by GitHub
parent 1b30a80682
commit dd005724a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ declare(strict_types=1);
use Illuminate\Support\Facades\Route;
if (config('tenancy.serve_tenant_assets', true)) {
if (config('tenancy.filesystem.serve_tenant_assets', true)) {
Route::get('/tenancy/assets/{path?}', 'Stancl\Tenancy\Controllers\TenantAssetsController@asset')
->where('path', '(.*)')