1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-08-30 19:10:20 +02:00

update guide examples

This commit is contained in:
Nikolay Kim
2018-04-09 07:57:50 -07:00
parent ff14633b3d
commit 48e7013997
2 changed files with 2 additions and 5 deletions

View File

@@ -203,9 +203,8 @@ fn main() {
server::new(
|| App::new()
.middleware(SessionStorage::new( // <- create session middleware
CookieSessionBackend::build(&[0; 32]) // <- create cookie session backend
CookieSessionBackend::new(&[0; 32]) // <- create cookie session backend
.secure(false)
.finish()
)))
.bind("127.0.0.1:59880").unwrap()
.start();