mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Before, when using UrlGeneratorBootstrapper, and your app had a `https://` url, in tenant context, the url would have the `http://` scheme. Now, the bootstrapper makes sure that the TenancyUrlGenerator inherits the original UrlGenerator's scheme. So if your app has e.g. url "https://some-url.test", `route('home')` in tenant context will return "http**s**://some-url.test/home" (originally, you'd get "http://some-url.test/home" - the original scheme - https - wouldn't be respected in the tenant context). This PR addresses the issue reported on Discord (https://discord.com/channels/976506366502006874/976506736120823909/1399012794514411621). --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Samuel Štancl <samuel@archte.ch> |
||
|---|---|---|
| .. | ||
| BootstrapperTest.php | ||
| BroadcastChannelPrefixBootstrapperTest.php | ||
| BroadcastingConfigBootstrapperTest.php | ||
| CacheTagsBootstrapperTest.php | ||
| CacheTenancyBootstrapperTest.php | ||
| DatabaseSessionBootstrapperTest.php | ||
| DatabaseTenancyBootstrapper.php | ||
| FilesystemTenancyBootstrapperTest.php | ||
| FortifyRouteBootstrapperTest.php | ||
| MailConfigBootstrapper.php | ||
| RootUrlBootstrapperTest.php | ||
| UrlGeneratorBootstrapperTest.php | ||