mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 01:06:23 +02:00
fix: Baidu search UI rendering and clean debug code
- Fix: Add BAIDU_SEARCH_API to direct render sources - Fix: Remove API key exposure in debug logs - Resolves 404 error when clicking Baidu search results
This commit is contained in:
parent
beaf8f89a6
commit
a479fea588
2 changed files with 4 additions and 5 deletions
|
|
@ -53,7 +53,10 @@ export function SourceDetailSheet({
|
|||
|
||||
// Check if this is a source type that should render directly from node
|
||||
const isDirectRenderSource =
|
||||
sourceType === "TAVILY_API" || sourceType === "LINKUP_API" || sourceType === "SEARXNG_API";
|
||||
sourceType === "TAVILY_API" ||
|
||||
sourceType === "LINKUP_API" ||
|
||||
sourceType === "SEARXNG_API" ||
|
||||
sourceType === "BAIDU_SEARCH_API";
|
||||
|
||||
useEffect(() => {
|
||||
if (open && chunkId && !isDirectRenderSource) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue