diff options
| author | Fuwn <[email protected]> | 2021-05-18 12:29:14 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-18 12:29:14 -0700 |
| commit | eed8ed93d1df4f5f1ff749dd7661beedfa1b3269 (patch) | |
| tree | a04bc28033144f7bd8e5e8be26fbab8254abe02c | |
| parent | fix(git): this might have fixed it? (diff) | |
| download | records-eed8ed93d1df4f5f1ff749dd7661beedfa1b3269.tar.xz records-eed8ed93d1df4f5f1ff749dd7661beedfa1b3269.zip | |
fix: records path
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 07bbff4..96f5596 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ async fn main() -> std::io::Result<()> { .wrap(actix_cors::Cors::default().allow_any_origin()) .wrap(actix_web::middleware::Logger::default()) .service(actix_web::web::resource("/").to(|| async { INDEX })) - .service(actix_files::Files::new("/records", "./records/_/").show_files_listing()) + .service(actix_files::Files::new("/records", "./records/").show_files_listing()) }) .bind(format!( "0.0.0.0:{}", |