pronounscc/frontend/next.config.js
2022-08-17 03:04:06 +02:00

15 lines
306 B
JavaScript
Executable file

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