mirror of
https://github.com/soconnor0919/personal-website.git
synced 2025-12-12 23:04:43 -05:00
CV Caching, new dashboard
This commit is contained in:
@@ -9,7 +9,7 @@ const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
experimental: {
|
||||
serverActions: {
|
||||
bodySizeLimit: '2mb',
|
||||
bodySizeLimit: "2mb",
|
||||
},
|
||||
},
|
||||
webpack: (config) => {
|
||||
@@ -17,32 +17,24 @@ const nextConfig = {
|
||||
config.resolve.alias.encoding = false;
|
||||
return config;
|
||||
},
|
||||
// Add this section to disable linting during build
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
// Add this section to disable type checking during build
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
// Add this section
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/content/:path*',
|
||||
destination: '/api/content/:path*',
|
||||
source: "/content/:path*",
|
||||
destination: "/api/content/:path*",
|
||||
},
|
||||
];
|
||||
},
|
||||
images: {
|
||||
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048],
|
||||
imageSizes: [16, 32, 48, 64, 96, 128, 256, 384],
|
||||
formats: ['image/webp', 'image/avif'],
|
||||
formats: ["image/webp", "image/avif"],
|
||||
minimumCacheTTL: 60,
|
||||
remotePatterns: [
|
||||
{
|
||||
protocol: 'https',
|
||||
hostname: '**',
|
||||
protocol: "https",
|
||||
hostname: "**",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user