hmm
This commit is contained in:
parent
0bd7d99dd9
commit
1d2c4fc553
@ -24,9 +24,11 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
$settings = InstanceSettings::first();
|
||||
if ($this->app->environment('local') && Str::startsWith($settings->fqdn, 'https')) {
|
||||
URL::forceScheme('https');
|
||||
if ($this->app->environment('production')) {
|
||||
$settings = InstanceSettings::first();
|
||||
if (Str::startsWith($settings->fqdn, 'https')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user