Branchwell

Jotley / website · jotley.ai / next.config.js

Raw 303 B on 2d09a211635f3fe134f5b72c9f84550adcafd8a3
1const vercel = require("./vercel.json");
2
3/** @type {import('next').NextConfig} */
4const nextConfig = {
5 reactStrictMode: true,
6 ...(process.env.CLOUDFLARE_DEPLOYMENT_ENV && {
7 headers: async () => vercel.headers,
8 redirects: async () => vercel.redirects,
9 }),
10};
11
12module.exports = nextConfig;