1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 03:14:03 +00:00

Merge branch 'master' of github.com:archtechx/tenancy into cache-prefix

This commit is contained in:
lukinovec 2023-03-20 12:19:15 +01:00
commit a1dc8e93b8
2 changed files with 6 additions and 6 deletions

View file

@ -124,12 +124,12 @@ class TenancyServiceProvider extends ServiceProvider
* Example of CLI tenant URL root override: * Example of CLI tenant URL root override:
* *
* UrlTenancyBootstrapper::$rootUrlOverride = function (Tenant $tenant) { * UrlTenancyBootstrapper::$rootUrlOverride = function (Tenant $tenant) {
* $baseUrl = url('/'); * $baseUrl = env('APP_URL');
* $scheme = str($baseUrl)->before('://'); * $scheme = str($baseUrl)->before('://');
* $hostname = str($baseUrl)->after($scheme . '://'); * $hostname = str($baseUrl)->after($scheme . '://');
* *
* return $scheme . '://' . $tenant->getTenantKey() . '.' . $hostname; * return $scheme . '://' . $tenant->getTenantKey() . '.' . $hostname;
*}; * };
*/ */
} }

View file

@ -21,7 +21,7 @@
"facade/ignition-contracts": "^1.0.2", "facade/ignition-contracts": "^1.0.2",
"spatie/ignition": "^1.4", "spatie/ignition": "^1.4",
"ramsey/uuid": "^4.7.3", "ramsey/uuid": "^4.7.3",
"stancl/jobpipeline": "^1.6.2", "stancl/jobpipeline": "2.0.0-rc1",
"stancl/virtualcolumn": "^1.3.1", "stancl/virtualcolumn": "^1.3.1",
"spatie/invade": "^1.1" "spatie/invade": "^1.1"
}, },