hetty/admin/next.config.js
2022-01-28 20:20:15 +01:00

19 lines
313 B
JavaScript

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