background scan
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2024-12-14 21:50:49 +01:00
parent 97f068d754
commit 6ce7384c8a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

View file

@ -49,9 +49,11 @@ async fn launch() -> _ {
let library = lib.clone();
let handle = tokio::spawn(async move {
library
.scan_dir(&Path::new(&dir_path.clone()).to_path_buf())
.await;
});
let cors = rocket_cors::CorsOptions {
allowed_origins: rocket_cors::AllowedOrigins::all(),