create-jaydee-app
Version:
This is a project created with Create Jaydee App.
25 lines (22 loc) • 541 B
JavaScript
/**
* Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation. This is especially useful
* for Docker builds.
*/
import "./src/env.js";
/** @type {import("next").NextConfig} */
const config = {
async headers() {
return [
{
source: "/api/:path*",
headers: [
{
key: "Netlify-CDN-Cache-Control",
value: "public, max-age=0, must-revalidate",
},
],
},
];
},
};
export default config;