поправлены еще раз удаления

This commit is contained in:
2026-08-20 15:37:10 +03:00
parent cd9476d167
commit 7d4f25991c
10 changed files with 115 additions and 18 deletions

View File

@@ -24,6 +24,7 @@ def _seed_config(source: Path, destination: Path) -> None:
def install_ui_builder(
app: FastAPI,
*,
build_version: str = "",
settings_dir: Path,
data_providers: dict[str, DataProvider],
source_labels: dict[str, str] | None = None,
@@ -108,6 +109,7 @@ def install_ui_builder(
html = (
template.replace("__UI_BUILDER_ASSETS__", assets_url.rstrip("/"))
.replace("__UI_BUILDER_ASSET_VERSION__", asset_version)
.replace("__UI_BUILDER_BUILD_VERSION__", str(build_version or asset_version))
.replace("__UI_BUILDER_API__", page_api)
.replace("__UI_BUILDER_AUTH_API__", auth_api)
.replace("__UI_BUILDER_EDITOR__", editor_url)