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