Remove embed-ui from default features, fix embedded UI path
All checks were successful
BotServer CI / build (push) Successful in 12m5s
All checks were successful
BotServer CI / build (push) Successful in 12m5s
- Removed embed-ui from default features (botserver is backend API only) - UI embedding is botui's responsibility, not botserver's - Fixed rust-embed folder path in embedded_ui.rs - Resolves CI compilation errors
This commit is contained in:
parent
e8a400d86d
commit
125b9d4389
2 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ features = ["database", "i18n"]
|
|||
|
||||
[features]
|
||||
# ===== DEFAULT =====
|
||||
default = ["chat", "automation", "drive", "tasks", "cache", "directory", "llm", "crawler", "embed-ui"]
|
||||
default = ["chat", "automation", "drive", "tasks", "cache", "directory", "llm", "crawler"]
|
||||
|
||||
# ===== CORE INFRASTRUCTURE (Can be used standalone) =====
|
||||
scripting = ["dep:rhai"]
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ use std::path::Path;
|
|||
|
||||
#[cfg(feature = "embed-ui")]
|
||||
#[derive(RustEmbed)]
|
||||
#[folder = "../botui/ui/suite/"]
|
||||
#[prefix = ""]
|
||||
#[folder = "ui"]
|
||||
#[prefix = "suite"]
|
||||
struct EmbeddedUi;
|
||||
|
||||
#[cfg(feature = "embed-ui")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue