Fix next.config.ts API proxy, add web pages spec

This commit is contained in:
Gjermund Høsøien Wiggen
2026-06-07 21:56:36 +02:00
parent 9b1af0b7b3
commit 6b7d8c4aba
2 changed files with 72 additions and 1 deletions

View File

@@ -1,7 +1,14 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
/* config options here */
async rewrites() {
return [
{
source: '/api/:path*',
destination: 'http://127.0.0.1:9876/api/:path*',
},
];
},
};
export default nextConfig;