mirror of
https://github.com/actix/examples
synced 2024-11-23 22:41:07 +01:00
update simple-auth example
This commit is contained in:
parent
1f2d4ed54f
commit
3058f53bac
@ -65,7 +65,7 @@ fn main() -> std::io::Result<()> {
|
||||
.name("auth")
|
||||
.path("/")
|
||||
.domain(domain.as_str())
|
||||
.max_age(Duration::days(1))
|
||||
.max_age_time(Duration::days(1))
|
||||
.secure(false), // this can only be true if you have https
|
||||
))
|
||||
// everything under '/api/' route
|
||||
|
Loading…
Reference in New Issue
Block a user