fix: API proxy — strip /api prefix in rewrite (backend routes don't use /api)

This commit is contained in:
Gjermund Høsøien Wiggen
2026-06-07 22:05:30 +02:00
parent 73cf283f06
commit 49834f5215

View File

@@ -5,7 +5,7 @@ const nextConfig: NextConfig = {
return [
{
source: '/api/:path*',
destination: 'http://127.0.0.1:9876/api/:path*',
destination: 'http://127.0.0.1:9876/:path*',
},
];
},