30 lines · 604 B · TypeScript
RawDownload
import type { NextConfig } from "next";import bundleAnalyzer from "@next/bundle-analyzer"; const withBundleAnalyzer = bundleAnalyzer({  enabled: process.env.ANALYZE === "true",}); const nextConfig: NextConfig = {  output: "standalone",  images: { unoptimized: true },  async redirects() {    return [      {        source: "/models",        destination: "/recipes",        permanent: true,      },    ];  },  async rewrites() {    return [      {        source: "/api/chat-v2",        destination: "/api/chat",      },    ];  },}; export default withBundleAnalyzer(nextConfig);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t