1
0
mirror of https://github.com/actix/actix-website synced 2025-01-22 16:15:56 +01:00

add missing unwrap

This commit is contained in:
DD5HT 2018-07-22 21:17:39 +02:00
parent c5b43e2f22
commit e5efcdcd9f

View File

@ -123,7 +123,7 @@ fn main() {
App::new()
.handler(
"/static",
StaticFiles::with_config(".", MyConfig)
StaticFiles::with_config(".", MyConfig).unwrap()
.show_files_listing()
).finish();
}