// @ts-check
// eslint-disable-next-line no-undef
module.exports = {
async rewrites() {
return [
{
source: "/api",
destination: "http://localhost:5000",
},
source: "/api/:path*",
destination: "http://localhost:5000/:path*",
];
};