server: snapshot

This commit is contained in:
nym21
2026-01-12 12:34:30 +01:00
parent 1b9e18f98b
commit b12a72ea1a
24 changed files with 3619 additions and 5378 deletions
+2 -1
View File
@@ -82,6 +82,7 @@ pub fn run() -> color_eyre::Result<()> {
let website = config.website();
let downloads_path = config.downloads_dir();
let data_path = config.brkdir();
let future = async move {
let bundle_path = if website.is_some() {
@@ -148,7 +149,7 @@ pub fn run() -> color_eyre::Result<()> {
}
}
let server = Server::new(&query, bundle_path);
let server = Server::new(&query, data_path, bundle_path);
tokio::spawn(async move {
server.serve(true).await.unwrap();