fix:build errors and minor changes

This commit is contained in:
Ashwani Senapati
2026-01-11 18:35:15 +05:30
parent aa905c7fd5
commit 1b2a7ab06e
12 changed files with 531 additions and 194 deletions

View File

@@ -1,25 +1,30 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
const nextConfig = {
eslint: {
ignoreDuringBuilds: true,
ignoreDuringBuilds: true,
},
images: {
remotePatterns: [
{
protocol: "https",
hostname: "res.cloudinary.com",
hostname: "res.cloudinary.com",
},
{
protocol: "https",
hostname: "picsum.photos",
},
{ protocol: "https", hostname: "picsum.photos" },
],
},
async headers() {
async headers() {
return [
{
source: '/team/:path*',
source: "/team/:path*",
headers: [
{ key: 'Access-Control-Allow-Origin', value: '*' },
{
key: "Access-Control-Allow-Origin",
value: "*",
},
],
},
];