lokalisierung vervollständigt, api provider testconnection, runware modellsuche aktiviert und style preview generation integriert

This commit is contained in:
2025-12-03 16:11:38 +01:00
parent 090ec2c44b
commit 52dc61ca16
15 changed files with 516 additions and 77 deletions

View File

@@ -21,15 +21,8 @@ class AppServiceProvider extends ServiceProvider
public function boot(): void
{
FilamentAsset::register([
\Filament\Support\Assets\Js::make('custom-navigation-state', __DIR__ . '/../../resources/js/custom/navigation-state.js'),
\Filament\Support\Assets\Js::make('custom-navigation-state', __DIR__.'/../../resources/js/custom/navigation-state.js'),
]);
$locale = substr(request()->server('HTTP_ACCEPT_LANGUAGE'), 0, 2);
if (in_array($locale, ['de'])) {
app()->setLocale($locale);
} else {
app()->setLocale('en');
}
}
}