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

Add option to enable/disable tenant asset route

This commit is contained in:
hackerESQ 2021-04-13 11:44:33 -05:00 committed by GitHub
parent 27e9fb4a69
commit c35561d893
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,6 +135,13 @@ return [
* where you want to use tenant-specific assets (product images, avatars, etc). * where you want to use tenant-specific assets (product images, avatars, etc).
*/ */
'asset_helper_tenancy' => true, 'asset_helper_tenancy' => true,
/**
* Should the tenant asset route be registered. This route enables you to access files
* in the tenant-specific storage. By default, this route is enabled. But it may
* be useful to disable if you use external storage (e.g. S3 or Dropbox).
*/
'serve_tenant_assets' => true,
], ],
/** /**