douyinWEB/frontend/next.config.mjs
eric 76afafa6c9 Initial commit: Douyin live monitor with sh2-aligned probe.
Next.js + FastAPI + PocketBase stack for room/session monitoring, cookie sync from sh2, and anti-risk polling defaults.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 09:03:00 -05:00

18 lines
355 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://127.0.0.1:8000/api/:path*",
},
{
source: "/covers/:path*",
destination: "http://127.0.0.1:8000/covers/:path*",
},
];
},
};
export default nextConfig;