mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
b844a7c97c
- Remove @copilotkit/showcase-shared webpack alias from all 17 next.config.ts - Remove @copilotkit/showcase-shared tsconfig paths from all 17 tsconfig.json - Update all 17 manifest.yaml starter sections to point to showcase/starters/<slug> with Sales Dashboard name, npx degit clone command, and Railway demo URLs - Add OPENAI_BASE_URL/OPENAI_API_KEY env passthrough to all 17 playwright configs for aimock-backed e2e testing
26 lines
519 B
TypeScript
26 lines
519 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Allow iframe embedding from the showcase shell
|
|
async headers() {
|
|
return [
|
|
{
|
|
source: "/(.*)",
|
|
headers: [
|
|
{
|
|
key: "X-Frame-Options",
|
|
value: "ALLOWALL",
|
|
},
|
|
{
|
|
key: "Content-Security-Policy",
|
|
value: "frame-ancestors *;",
|
|
},
|
|
],
|
|
},
|
|
];
|
|
},
|
|
typescript: { ignoreBuildErrors: true },
|
|
};
|
|
|
|
export default nextConfig;
|