Optimize images to WebP and enable lazy loading. Add security headers (HSTS, CSP, etc) for A+ SSL score.

This commit is contained in:
Muhammet Güler
2026-02-17 10:30:36 +03:00
parent 7101f7878a
commit 477993ec83
743 changed files with 927 additions and 232 deletions
+5
View File
@@ -23,7 +23,12 @@ class AppServiceProvider extends ServiceProvider
{
setlocale(LC_ALL, 'tr_TR.UTF-8', 'tr_TR', 'turkish');
// Page model için observer kaydet
// Page model için observer kaydet
Page::observe(PageObserver::class);
if ($this->app->environment('production') || $this->app->environment('staging')) {
\Illuminate\Support\Facades\URL::forceScheme('https');
}
}
}