Branchwell

Jotley / website / next.config.js

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;