mirror of https://github.com/MaxLeiter/Drift
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
267 B
JavaScript
15 lines
267 B
JavaScript
3 years ago
|
/** @type {import('next').NextConfig} */
|
||
|
const nextConfig = {
|
||
|
reactStrictMode: true,
|
||
|
async rewrites() {
|
||
|
return [
|
||
|
{
|
||
|
source: "/api/:path*",
|
||
|
destination: "http://localhost:3000/:path*",
|
||
|
},
|
||
|
];
|
||
|
},
|
||
|
};
|
||
|
|
||
|
module.exports = nextConfig;
|