Compare commits

...

2 Commits

Author SHA1 Message Date
nBiqoz
96dd721fcb first commit 2025-10-05 17:09:01 +02:00
nBiqoz
3f79dc7c9c first commit 2025-10-05 16:54:07 +02:00

View File

@@ -1,8 +1,27 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
allowedDevOrigins: ['10.8.0.2', '*.local'],
async headers() {
return [
{
source: "/api/:path*",
headers: [
{
key: "Access-Control-Allow-Origin",
value: "https://dashboard.cercle-gpt.com",
},
{
key: "Access-Control-Allow-Methods",
value: "GET, POST, PUT, DELETE, OPTIONS",
},
{
key: "Access-Control-Allow-Headers",
value: "Content-Type, Authorization",
},
],
},
];
},
};
export default nextConfig;