first commit

This commit is contained in:
nBiqoz
2025-10-05 17:09:01 +02:00
parent 3f79dc7c9c
commit 96dd721fcb

View File

@@ -1,15 +1,27 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
allowedDevOrigins: [
"10.8.0.2",
"*.local",
"dashboard.cercle-gpt.com",
"*.cercle-gpt.com",
"localhost:3000",
"127.0.0.1:3000",
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;