deerflow2/web/src
Willem Jiang 436cd63004 fix(web): enable runtime API URL detection for cross-machine access (#777) (#783)
When NEXT_PUBLIC_API_URL is not explicitly configured, the frontend now
automatically detects the API URL based on the current page's hostname.
This allows accessing DeerFlow from other machines without rebuilding
the frontend.

- Add getBaseURL() helper with runtime window.location detection
- Use same protocol and hostname with default port 8000
- Preserve explicit NEXT_PUBLIC_API_URL configuration when set
- Fallback to localhost:8000 for SSR scenarios
2025-12-25 22:34:26 +08:00
..
app feat(eval): add report quality evaluation module and UI integration (#776) 2025-12-25 21:55:48 +08:00
components feat(eval): add report quality evaluation module and UI integration (#776) 2025-12-25 21:55:48 +08:00
core fix(web): enable runtime API URL detection for cross-machine access (#777) (#783) 2025-12-25 22:34:26 +08:00
hooks feat(visualization): add workflow run animation logic 2025-04-29 16:46:50 +08:00
lib chore: add license header for web 2025-04-17 14:26:41 +08:00
styles FIX/Adapt message box to handle long text in frontend (#466) 2025-08-21 10:31:54 +08:00
typings chore: support raw-loader 2025-04-22 13:52:56 +08:00
env.js fix: make SSE buffer size configurable to prevent overflow during multi-round searches (#664) (#665) 2025-10-27 17:03:38 +08:00
i18n.ts feat: add i18n support and add Chinese (#372) 2025-07-12 15:18:28 +08:00