DONE: trust all proxies

This commit is contained in:
ISMAIL MASSERAN
2026-09-01 10:33:00 +08:00
parent 86525d9559
commit 0115f32833
3 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -23,6 +23,8 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot()
{
//
if (strpos((string) config('app.url'), 'https://') === 0) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
}
}