CoastalCommitsPastes/client/next.config.js

15 lines
267 B
JavaScript
Raw Normal View History

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