mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-23 06:46:40 +08:00
This commit resolves an incorrect import path for `ToastProps` and `ToastActionElement` types within the `use-toast.tsx` hook. The current path, `@/registry/default/ui/toast`, does not reflect the actual file location in this repository. The import in `src/components/hooks/use-toast.tsx` has been updated from `@/registry/default/ui/toast` to the correct alias path: `@/components/ui/toast`. This ensures the types are resolved correctly and the codebase remains clean and functional.
Install front-end dependencies
npm install
Launch front-end
npm run dev
The following output confirms a successful launch of the system:
Login to RAGFlow web UI
Open your browser and navigate to:
http://localhost:9222 or http://[YOUR_MACHINE_IP]:9222
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222).
Login to RAGFlow web admin UI
Open your browser and navigate to:
http://localhost:9222/admin or http://[YOUR_MACHINE_IP]:9222/admin
Replace [YOUR_MACHINE_IP] with your actual machine IP address (e.g., http://192.168.1.49:9222/admin).
Shutdown front-end
Ctrl + C or
kill -f "umi dev"