feat: extend agent-driven map workbench

This commit is contained in:
2026-07-20 19:57:35 +08:00
parent 86e9b08235
commit 7fbd8a5618
63 changed files with 4506 additions and 457 deletions
+5
View File
@@ -1,5 +1,10 @@
const DEFAULT_MAP_URL = "https://geoserver.waternetwork.cn/geoserver";
const DEFAULT_GEOSERVER_WORKSPACE = "wenzhou";
export const MAP_URL = (
process.env.NEXT_PUBLIC_MAP_URL || DEFAULT_MAP_URL
).replace(/\/$/, "");
export const GEOSERVER_WORKSPACE = (
process.env.NEXT_PUBLIC_GEOSERVER_WORKSPACE || DEFAULT_GEOSERVER_WORKSPACE
).trim().replace(/^\/+|\/+$/g, "");