finished rewrite. custon folders work now

This commit is contained in:
2025-11-13 09:24:46 +01:00
parent f6940f1db8
commit 3ae1b2cc6e
5 changed files with 17 additions and 12 deletions

View File

@@ -46,7 +46,7 @@ impl <'a> Server <'a> {
hyperlink
);
let Ok(()) = listen("localhost", self.config.port, "./dist").await else {
let Ok(()) = listen("localhost", self.config.port, self.config.output_dir.clone()).await else {
panic!("could not start server")
};
}