mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 15:14:04 +00:00
Set base app URL in config
This commit is contained in:
parent
9d1d113e9a
commit
1f06b1161e
1 changed files with 1 additions and 0 deletions
|
|
@ -396,6 +396,7 @@ test('url bootstrapper overrides the root url when tenancy gets initialized and
|
||||||
});
|
});
|
||||||
|
|
||||||
$baseUrl = url(route('home'));
|
$baseUrl = url(route('home'));
|
||||||
|
config(['app.url' => $baseUrl]);
|
||||||
|
|
||||||
$rootUrlOverride = function (Tenant $tenant) use ($baseUrl) {
|
$rootUrlOverride = function (Tenant $tenant) use ($baseUrl) {
|
||||||
$scheme = str($baseUrl)->before('://');
|
$scheme = str($baseUrl)->before('://');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue