feat: implement comprehensive map editing system with advanced geometry tools, replay management, and project session state modules.
Build and Release / release (push) Successful in 55s

This commit is contained in:
taDuc
2026-06-11 22:05:18 +07:00
parent 0d6599015b
commit 5a8dfc4b50
180 changed files with 43408 additions and 119 deletions
-28
View File
@@ -19,34 +19,6 @@ const nextConfig: NextConfig = {
],
},
output: 'standalone',
async rewrites() {
// Proxy backend API calls through Next.js to avoid browser CORS issues.
//
// Configure the target via:
// - API_PROXY_TARGET (server-side, recommended) e.g. http://localhost:8080
// - NEXT_PUBLIC_API_URL_ROOT (fallback)
const target =
process.env.API_PROXY_TARGET ||
process.env.NEXT_PUBLIC_API_URL_ROOT ||
"https://history-api.kain.id.vn";
const prefixes = [
"auth",
"users",
"media",
"projects",
"submissions",
"statistics",
"roles",
"historian",
];
return [
...prefixes.map((p) => ({
source: `/${p}/:path*`,
destination: `${target}/${p}/:path*`,
})),
];
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,