sync: 鍚屾灞€鍩熺綉鏈€鏂颁唬鐮?(source master @ b69568e4)

This commit is contained in:
gozeros committed 2026-10-21 14:51:31 +08:00
1 parent 4f7f07504a
commit 8bc8b0e082
1651 files changed
+278599 -11416

No files matched your search

@@ -0,0 +1,20 @@
"""Browser runtime configuration for generated HTML artifacts."""
from pydantic import BaseModel, Field
DEFAULT_HTML_MAP_TILE_URL = "https://mt0.google.com/vt/lyrs=m&hl=zh-CN&x={x}&y={y}&z={z}"
class HtmlRuntimeConfig(BaseModel):
"""Resources used by standalone HTML pages generated in the sandbox."""
base_url: str = Field(
default="http://localhost:8001/api/public/html-runtime",
min_length=1,
description="Browser-accessible Gateway base URL for generated HTML runtime files",
)
map_tile_url: str = Field(
default=DEFAULT_HTML_MAP_TILE_URL,
min_length=1,
description="Leaflet tile URL template used when HTML maps use the map-webpage engine",
)