1
0
mirror of https://github.com/actix/examples synced 2025-06-26 17:17:42 +02:00

updated code comment about log middleware

This commit is contained in:
dowwie
2019-06-01 09:27:34 -04:00
parent 4e3a42d77d
commit a8b49dfaec
3 changed files with 3 additions and 2 deletions

View File

@ -84,7 +84,7 @@ fn main() -> io::Result<()> {
App::new()
// cookie session middleware
.wrap(CookieSession::signed(&[0; 32]).secure(false))
// enable logger
// enable logger - always register actix-web Logger middleware last
.wrap(middleware::Logger::default())
// register favicon
.service(favicon)