Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
fix asset rendering in production
Browse files Browse the repository at this point in the history
  • Loading branch information
FemiNoviaLina committed May 11, 2022
1 parent 84b8a7c commit d137a74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ public function register()
*/
public function boot()
{
//
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
}
}

0 comments on commit d137a74

Please sign in to comment.