Files
chrome-use/packages/dashboard/next.config.ts
T
Chris Tate 317e6869b6 Add AI chat to dashboard, refactor stream module, snapshot --urls, batch argument mode (#1160)
* chat

* refactor

* fixes

* fixes

* fixes

* fixes

* improvements

* download chat

* batch

* fixes

* fixes

* fixes

* fmt

* fixes

* fixes

* fixes

* fmt
2026-04-06 08:10:43 -05:00

23 lines
451 B
TypeScript

import type { NextConfig } from "next";
const DAEMON_ORIGIN = process.env.DAEMON_URL || "http://localhost:4848";
const config: NextConfig = {
output: "export",
images: { unoptimized: true },
devIndicators: false,
env: {
NEXT_PUBLIC_DAEMON_URL: DAEMON_ORIGIN,
},
async rewrites() {
return [
{
source: "/api/:path*",
destination: `${DAEMON_ORIGIN}/api/:path*`,
},
];
},
};
export default config;