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:
parent
c5b43e2f22
commit
e5efcdcd9f
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user