Files
otunes/apps/web/next.config.ts
joshuafhigginsandCursor Verified d743f36ba7 fix(web): remove the temporary carousel preview route
The preview page and its dev-only access were only used to check heading alignment.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-09 13:53:21 -04:00

23 lines
625 B
TypeScript

import path from "node:path"
import type { NextConfig } from "next"
const nextConfig: NextConfig = {
output: "standalone",
outputFileTracingRoot: path.join(__dirname, "../../"),
experimental: {
// App pages render their data from the client cache, so reusing a visited
// page's server payload is safe and skips a round trip on revisits.
staleTimes: {
dynamic: 300,
},
},
images: {
minimumCacheTTL: 60,
dangerouslyAllowSVG: true,
contentDispositionType: "attachment",
contentSecurityPolicy: "default-src 'self'; script-src 'none'; sandbox;",
},
}
export default nextConfig