refactor(server): remove api prefix for all routes

This commit is contained in:
Amruth Pillai
2022-03-08 10:52:13 +01:00
parent 5a2594eb88
commit 43ce43ab5b
3 changed files with 2 additions and 6 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const nextConfig = {
return [
{
source: '/api/:path*',
destination: 'http://localhost:3100/api/:path*',
destination: 'http://localhost:3100/:path*',
},
];
}