Fix: force HTTPS scheme in production for assets

This commit is contained in:
babelbes0487 2026-06-19 17:51:21 +07:00
parent a355796d3e
commit d38a9c9c2d
1 changed files with 4 additions and 0 deletions

View File

@ -24,6 +24,10 @@ public function register(): void
public function boot(): void
{
$this->configureDefaults();
if (app()->isProduction()) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
}
/**