Fix email module integration - update build and UI server
This commit is contained in:
parent
661edc09fa
commit
607ad076d9
2 changed files with 5 additions and 3 deletions
6
build.rs
6
build.rs
|
|
@ -1,3 +1,5 @@
|
|||
|
||||
fn main() {
|
||||
}
|
||||
let manifest_dir = std::env::var("CARGO_MANIFEST_DIR").unwrap();
|
||||
let ui_path = std::path::Path::new(&manifest_dir).join("ui");
|
||||
println!("cargo:rustc-env=BOTUI_UI_PATH={}", ui_path.display());
|
||||
}
|
||||
|
|
@ -25,7 +25,7 @@ use tower_http::services::{ServeDir, ServeFile};
|
|||
|
||||
#[cfg(feature = "embed-ui")]
|
||||
#[derive(RustEmbed)]
|
||||
#[folder = "$CARGO_MANIFEST_DIR/ui"]
|
||||
#[folder = "ui"]
|
||||
struct Assets;
|
||||
|
||||
use crate::shared::AppState;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue