Skip to content

Commit 3ab917b

Browse files
committed
first
1 parent 2f841a5 commit 3ab917b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/Providers/AppServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ class AppServiceProvider extends ServiceProvider
1111
*/
1212
public function register(): void
1313
{
14-
//
14+
if(config('app.env') === 'production') {
15+
\URL::forceScheme('https');
16+
}
1517
}
1618

1719
/**

0 commit comments

Comments
 (0)