hmm
This commit is contained in:
parent
0bd7d99dd9
commit
1d2c4fc553
1 changed files with 5 additions and 3 deletions
|
|
@ -24,9 +24,11 @@ public function register(): void
|
||||||
*/
|
*/
|
||||||
public function boot(): void
|
public function boot(): void
|
||||||
{
|
{
|
||||||
$settings = InstanceSettings::first();
|
if ($this->app->environment('production')) {
|
||||||
if ($this->app->environment('local') && Str::startsWith($settings->fqdn, 'https')) {
|
$settings = InstanceSettings::first();
|
||||||
URL::forceScheme('https');
|
if (Str::startsWith($settings->fqdn, 'https')) {
|
||||||
|
URL::forceScheme('https');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue