Skip to content

Commit

Permalink
debug: moved static folder out of ./src
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonVirgo committed Jul 17, 2024
1 parent 4328400 commit 4575861
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async fn main() -> std::io::Result<()> {

HttpServer::new(|| {
App::new()
.service(fs::Files::new("/static", "./src/static").show_files_listing())
.service(fs::Files::new("/static", "./static").show_files_listing())
.service(routes::main::main)
// .default_service(web::route().to(routes::not_found::not_found))
})
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 4575861

Please sign in to comment.