feat: 添加 WebUI 静态资源包提示和相关错误处理逻辑
This commit is contained in:
@@ -80,6 +80,7 @@
|
||||
"startup.webui_auto_build_tool_missing": "❌ 利用可能なフロントエンドビルドツールが見つからず、WebUI を自動ビルドできません",
|
||||
"startup.webui_cors_configured": "✅ CORS ミドルウェアを設定しました",
|
||||
"startup.webui_dashboard_source_missing": "❌ WebUI フロントエンドのソースディレクトリが見つかりません: {dashboard_root}",
|
||||
"startup.webui_dashboard_package_hint": "💡 事前ビルド済みの WebUI 静的リソースパッケージを先にインストールしてください。例: {command}",
|
||||
"startup.webui_disabled": "WebUI は無効です",
|
||||
"startup.webui_index_missing": "❌ index.html が見つかりません: {index_path}",
|
||||
"startup.webui_manual_build_hint": "💡 自動復旧でフロントエンド資産を復旧できなかったため、dashboard ディレクトリで依存関係をインストールして手動ビルドしてください: {command}",
|
||||
@@ -87,6 +88,7 @@
|
||||
"startup.webui_robots_route_register_failed": "❌ robots.txt ルートの登録に失敗しました: {error}",
|
||||
"startup.webui_robots_route_registered": "✅ robots.txt ルートを登録しました",
|
||||
"startup.webui_server_init_failed": "WebUI サーバーの初期化に失敗しました: {error}",
|
||||
"startup.webui_static_assets_unavailable": "❌ 利用可能な WebUI 静的アセットが見つかりません(インストール済みの maibot-dashboard パッケージまたはローカルの dashboard/dist)",
|
||||
"startup.webui_static_assets_try_auto_build": "⚠️ WebUI の静的アセットが利用できないため、フロントエンドの自動ビルドを試行します...",
|
||||
"startup.webui_static_dir_missing": "❌ WebUI の静的ディレクトリが存在しません",
|
||||
"startup.webui_static_dir_missing_with_path": "❌ WebUI の静的ディレクトリが存在しません: {static_path}",
|
||||
|
||||
Reference in New Issue
Block a user