- Add await ctx.cache.subscribe() to addSymbol mutation so symbols added via the sidebar get registered in symbol_demand and yfinance jobs are queued immediately - Backfill PEP, WYNN, STZ, CELH into symbol_demand + adapter_queue - Upgrade yahoo-finance2 3.15.3 -> 3.15.4 and pass validateResult:false to quoteSummary() to handle Yahoo schema drift - Add error detail logging for analyst ratings schema failures - Update .gitignore with common ignores
18 lines
704 B
TypeScript
18 lines
704 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
// Proxy /api/* to the local Bun/Node backend (slice 1f) so the SPA and backend share an
|
|
// origin — session cookies work without cross-origin/CORS gymnastics (DESIGN.md §2.1).
|
|
const nextConfig: NextConfig = {
|
|
typescript: {
|
|
// The server/ directory uses .ts import extensions (Node native TS) and has its
|
|
// own type-check via `npm run typecheck` in server/. Skip Next.js type checking
|
|
// to avoid false errors from server files that aren't part of the frontend bundle.
|
|
ignoreBuildErrors: true,
|
|
},
|
|
rewrites: async () => [
|
|
{ source: "/api/:path*", destination: "http://localhost:3001/api/:path*" },
|
|
],
|
|
};
|
|
|
|
export default nextConfig;
|