We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3cbdcf commit 98b8824Copy full SHA for 98b8824
packages/fern-docs/ui/src/search/SearchV2.tsx
@@ -93,8 +93,8 @@ export function SearchV2(): ReactElement | false {
93
// Rerouting to ferndocs.com for production environments to ensure streaming works
94
// Also see: next.config.mjs, where we set CORS headers
95
if (process.env.NEXT_PUBLIC_VERCEL_ENV === "production") {
96
- chatEndpoint = `https://legacy.ferndocs.com/api/fern-docs/search/v2/chat`;
97
- suggestEndpoint = `https://legacy.ferndocs.com/api/fern-docs/search/v2/suggest`;
+ chatEndpoint = `https://prod.ferndocs.com/api/fern-docs/search/v2/chat`;
+ suggestEndpoint = `https://prod.ferndocs.com/api/fern-docs/search/v2/suggest`;
98
}
99
100
const router = useRouter();
0 commit comments