fn () => app()->getLocale(), ]); } final public function rootView(Request $request): string { if (in_array($request->route()?->uri(), ['setup', 'login', 'setup/admin'], true)) { return 'external'; } return $this->rootView; } }