mirror of
https://github.com/caronc/apprise-api.git
synced 2024-12-12 09:50:50 +01:00
Fix expiry date in theme set-cookie (#141)
This commit is contained in:
parent
6a8099d79e
commit
36e5d75a84
@ -78,7 +78,7 @@ class AutoThemeMiddleware:
|
||||
datetime.timedelta(seconds=max_age)
|
||||
|
||||
# Set our cookie
|
||||
response.set_cookie('theme', theme, expires=expires.utctimetuple())
|
||||
response.set_cookie('theme', theme, expires=expires)
|
||||
|
||||
# return our response
|
||||
return response
|
||||
|
Loading…
Reference in New Issue
Block a user