Workspace UI

This commit is contained in:
Domonkos
2026-01-21 13:40:06 +01:00
parent bf92b7a5e1
commit 6b0b7ae903
31 changed files with 7319 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
async rewrites() {
return [
// API → Spring Boot
{
source: "/api/:path*",
destination: "http://localhost:8080/api/:path*",
},
// Auth → Spring Boot (Form Login / Logout)
{
source: "/login",
destination: "http://localhost:8080/login",
},
{
source: "/logout",
destination: "http://localhost:8080/logout",
},
];
},
};
export default nextConfig;