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

Set base app URL in config

This commit is contained in:
lukinovec 2023-02-17 14:33:54 +01:00
parent 9d1d113e9a
commit 1f06b1161e

View file

@ -396,6 +396,7 @@ test('url bootstrapper overrides the root url when tenancy gets initialized and
});
$baseUrl = url(route('home'));
config(['app.url' => $baseUrl]);
$rootUrlOverride = function (Tenant $tenant) use ($baseUrl) {
$scheme = str($baseUrl)->before('://');