CoastalCommitsPastes/client/next.config.js
2022-03-06 17:29:34 -08:00

15 lines
289 B
JavaScript

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