| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import type { NextConfig } from "next";
- const nextConfig: NextConfig = {
- images: {
- remotePatterns: [
- {
- protocol: "https",
- hostname: "images.unsplash.com"
- }
- ]
- },
- async headers() {
- const noStoreHeaders = [
- {
- key: "Cache-Control",
- value: "no-store, no-cache, must-revalidate, proxy-revalidate"
- },
- {
- key: "Pragma",
- value: "no-cache"
- },
- {
- key: "Expires",
- value: "0"
- }
- ];
- return [
- {
- source: "/",
- headers: noStoreHeaders
- },
- {
- source: "/chat",
- headers: noStoreHeaders
- },
- {
- source: "/library",
- headers: noStoreHeaders
- },
- {
- source: "/agents",
- headers: noStoreHeaders
- },
- {
- source: "/agents/:path*",
- headers: noStoreHeaders
- },
- {
- source: "/reader/:path*",
- headers: noStoreHeaders
- },
- {
- source: "/api/:path*",
- headers: noStoreHeaders
- }
- ];
- }
- };
- export default nextConfig;
|