mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 09:34:04 +00:00
config: ignore port in default central_domains value
Recent Laravel installations often have http://localhost:8000 as APP_URL, so we make sure to strip any port suffix from the default central domain derived from APP_URL.
This commit is contained in:
parent
38aab013a4
commit
0cd0bc44b1
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ return [
|
||||||
* Only relevant if you're using the domain or subdomain identification middleware.
|
* Only relevant if you're using the domain or subdomain identification middleware.
|
||||||
*/
|
*/
|
||||||
'central_domains' => [
|
'central_domains' => [
|
||||||
str(env('APP_URL'))->after('://')->before('/')->toString(),
|
str(env('APP_URL'))->after('://')->before('/')->before(':')->toString(),
|
||||||
],
|
],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue