katheryn-frontend/next.config.ts

36 lines
654 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: 'standalone',
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'katheryn-cms.jeffemmett.com',
pathname: '/assets/**',
},
{
protocol: 'http',
hostname: 'localhost',
port: '8055',
pathname: '/assets/**',
},
],
},
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Cache-Control',
value: 'no-store, must-revalidate',
},
],
},
];
},
};
export default nextConfig;