Fix dashboard rendering

This commit is contained in:
jude committed 2025-11-09 16:07:14 +00:00
1 parent 901cf575c4
commit a4ec39e4a2
6 files changed
+55 -11

No files matched your search

+13
View File
@@ -10,4 +10,17 @@ fn main() {
.current_dir(Path::new("reminder-dashboard"))
.spawn()
.expect("Failed to build NPM");
Command::new("cp")
.arg("reminder-dashboard/dist/index.html")
.arg("static/index.html")
.spawn()
.expect("Failed to copy index.html");
Command::new("cp")
.arg("-r")
.arg("reminder-dashboard/dist/static/assets")
.arg("static/")
.spawn()
.expect("Failed to copy assets");
}