feat: extend agent-driven map workbench
This commit is contained in:
@@ -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, "");
|
||||
|
||||
Reference in New Issue
Block a user