anpassungen für betrieb mit traefik, blogpostseeder überarbeitet, blogpostergaenzungseeder hinzugefügt.

This commit is contained in:
Codex Agent
2025-11-18 15:48:02 +01:00
parent 7437474a01
commit 6720ad84cf
10 changed files with 2820 additions and 48 deletions

View File

@@ -42,6 +42,7 @@ use Illuminate\Support\Facades\Event as EventFacade;
use Illuminate\Support\Facades\Notification;
use Illuminate\Support\Facades\Queue;
use Illuminate\Support\Facades\RateLimiter;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Inertia\Inertia;
@@ -65,6 +66,10 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
if (str_starts_with((string) config('app.url'), 'https://')) {
URL::forceScheme('https');
}
$this->app->make(EventStorageManager::class)->registerDynamicDisks();
EventFacade::listen(