feat(frontend): add /u/[user]

This commit is contained in:
Sam 2022-08-17 03:04:06 +02:00
parent eec01dc070
commit 36b7d26723
9 changed files with 222 additions and 19 deletions

View file

@ -2,6 +2,14 @@
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
}
async rewrites() {
return [
{
source: "/api/:path*",
destination: "http://localhost:8080/:path*", // Proxy to Backend
},
];
},
};
module.exports = nextConfig
module.exports = nextConfig;