CoastalCommitsPastes/client/next.config.js

16 lines
289 B
JavaScript
Raw Normal View History

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