Without this, fetch('/api/v1/...') from the browser hits Apache root,
which routes /api/ to OliVAS (port 8000) instead of DeckForge (port 8001).
apiFetch prepends NEXT_PUBLIC_BASE_PATH so requests go through Next.js
rewrites to the correct backend.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| shared | ||
| ui | ||
| Announcement.tsx | ||
| AnthropicConfig.tsx | ||
| AuthGuard.tsx | ||
| BackBtn.tsx | ||
| CustomConfig.tsx | ||
| GoogleConfig.tsx | ||
| Header.tsx | ||
| Home.tsx | ||
| LLMSelection.tsx | ||
| Logo.tsx | ||
| OllamaConfig.tsx | ||
| OpenAIConfig.tsx | ||
| ToolTip.tsx | ||
| Wrapper.tsx | ||