hmm
This commit is contained in:
@@ -24,9 +24,11 @@ class AppServiceProvider extends ServiceProvider
|
|||||||
*/
|
*/
|
||||||
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');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user