updated rust version, minor fixes

This commit is contained in:
2026-06-07 16:26:42 +02:00
parent b4874ad318
commit 841e8419b0
7 changed files with 143 additions and 18 deletions
+2 -3
View File
@@ -34,7 +34,7 @@ async fn main() -> std::io::Result<()> {
.allow_any_header()
.supports_credentials();
let app = App::new()
App::new()
.wrap_fn(|req, srv| {
let mut passed: bool;
let request_url: String = String::from(req.uri().path());
@@ -73,8 +73,7 @@ async fn main() -> std::io::Result<()> {
}
})
.wrap(cors)
.configure(views::views_factory);
app
.configure(views::views_factory)
})
.bind("0.0.0.0:8001")?
.run()