新增 API URL 配置,更新 Dockerfile 和 docker-compose
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -23,11 +23,15 @@ export const config = {
|
||||
8, // 在缩放级别 24 时,圆形半径为 8px
|
||||
],
|
||||
},
|
||||
MAP_AVAILABLE_LAYERS: process.env.NEXT_PUBLIC_MAP_AVAILABLE_LAYERS
|
||||
? process.env.NEXT_PUBLIC_MAP_AVAILABLE_LAYERS.split(",").map((item) =>
|
||||
item.trim().toLowerCase(),
|
||||
)
|
||||
: ["junctions", "pipes", "valves", "reservoirs", "pumps", "tanks", "scada"],
|
||||
MAP_AVAILABLE_LAYERS: [
|
||||
"junctions",
|
||||
"pipes",
|
||||
"valves",
|
||||
"reservoirs",
|
||||
"pumps",
|
||||
"tanks",
|
||||
"scada",
|
||||
],
|
||||
};
|
||||
export let NETWORK_NAME = process.env.NEXT_PUBLIC_NETWORK_NAME || "tjwater";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user