Skip to content

Commit

Permalink
add: add logic in appservice provider and .env
Browse files Browse the repository at this point in the history
  • Loading branch information
alejandro-velasquez committed Nov 1, 2024
1 parent 564e3e7 commit ef8de6a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ public function register(): void
* Bootstrap any application services.
*/
public function boot(): void

{
//
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
}
}

0 comments on commit ef8de6a

Please sign in to comment.