mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 08:54:06 +00:00
Uses proper config key
This commit is contained in:
parent
1b30a80682
commit
dd005724a3
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||||
|
|
||||||
use Illuminate\Support\Facades\Route;
|
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')
|
Route::get('/tenancy/assets/{path?}', 'Stancl\Tenancy\Controllers\TenantAssetsController@asset')
|
||||||
->where('path', '(.*)')
|
->where('path', '(.*)')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue