1
0
mirror of https://github.com/actix/actix-website synced 2025-01-23 00:25:55 +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() App::new()
.handler( .handler(
"/static", "/static",
StaticFiles::with_config(".", MyConfig) StaticFiles::with_config(".", MyConfig).unwrap()
.show_files_listing() .show_files_listing()
).finish(); ).finish();
} }