Ezekiel999 commited on
Commit
c180f80
·
verified ·
1 Parent(s): 5a3f516

Force HTTPS schema for generated asset URLs to fix Mixed Content blocking

Browse files
app/Providers/AppServiceProvider.php CHANGED
@@ -19,6 +19,8 @@ public function register(): void
19
  */
20
  public function boot(): void
21
  {
22
- //
 
 
23
  }
24
  }
 
19
  */
20
  public function boot(): void
21
  {
22
+ if (env('APP_ENV') !== 'local') {
23
+ \Illuminate\Support\Facades\URL::forceScheme('https');
24
+ }
25
  }
26
  }