Files
gitlab-instance-0a899031_salon/next.config.ts
2026-03-16 11:56:12 -05:00

28 lines
794 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
reactStrictMode: true,
async headers() {
return [
{
source: "/:path*",
headers: [
{ key: "Cache-Control", value: "no-store, no-cache, must-revalidate, proxy-revalidate" },
{ key: "Pragma", value: "no-cache" },
{ key: "Expires", value: "0" },
],
},
];
},
images: {
remotePatterns: [
{ protocol: "https", hostname: "picsum.photos", pathname: "/**" },
{ protocol: "https", hostname: "i.pravatar.cc", pathname: "/**" },
{ protocol: "https", hostname: "images.unsplash.com", pathname: "/**" },
{ protocol: "https", hostname: "sns-webpic-qc.xhscdn.com", pathname: "/**" },
],
},
};
export default nextConfig;