From b9917f0a4eb33b2e2a809a248e9249eec10ec3ff Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Mon, 23 Feb 2026 18:14:57 +1100 Subject: [PATCH] fix: add missing cached field to error fallback SearchResponse Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- Dockerfile | 4 ---- backend/data/hey_search.db | Bin 20480 -> 20480 bytes frontend/src/App.tsx | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 34254ee..819f478 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,10 +24,6 @@ COPY backend/ . # Copy frontend build output to static dir COPY --from=frontend-build /app/frontend/dist /app/static -# Redis is optional — set REDIS_URL to enable caching -# e.g. docker run -e REDIS_URL=redis://redis:6379 ... -ENV REDIS_URL="" - EXPOSE 8000 CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/backend/data/hey_search.db b/backend/data/hey_search.db index 8efd354039fec9b25f05efa6aaa63afd9f7da362..8046c70b533cbab458683928dc7e154f6fbdf322 100644 GIT binary patch delta 86 zcmZozz}T>WaRZwH+ffGo*ZfB}3o7j7S5skTmbWcRP01{dFD=ReGpzLW4K0oI49zU` n4E2nx%#6(~H@~)L6cAw+V%FwNPE5{7jV~$5iOWaRZwH+g%3!*Zg-k3o2aX=i^~wmgg->P01{dFD=U1{Mw#TK!iz%S(`IC SF*zeOzN924J|n-hs2BiwOcYK4 diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index aee7016..9ed59e2 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -80,6 +80,7 @@ function App() { timestamp: new Date().toISOString(), total_results: 0, has_next: false, + cached: false, }); } finally { setLoading(false);