Optimize images to WebP and enable lazy loading. Add security headers (HSTS, CSP, etc) for A+ SSL score.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user