CoastalCommitsPastes/client/next.config.js
2022-03-06 17:35:19 -08:00

14 lines
267 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:3000/:path*",
},
];
},
};
module.exports = nextConfig;