update buckler middleware
This commit is contained in:
parent
c80fe8eac4
commit
dc82d87d67
|
@ -74,6 +74,7 @@ class BucklerSessionInterface(SessionInterface):
|
|||
response.set_cookie(
|
||||
'userid',
|
||||
session.cookies['userid'],
|
||||
domain=config.server_domain,
|
||||
max_age=30*24*60*60,
|
||||
secure=True,
|
||||
httponly=True,
|
||||
|
@ -81,6 +82,7 @@ class BucklerSessionInterface(SessionInterface):
|
|||
response.set_cookie(
|
||||
'session',
|
||||
session.cookies['session'],
|
||||
domain=config.server_domain,
|
||||
max_age=30*24*60*60,
|
||||
secure=True,
|
||||
httponly=True,
|
||||
|
@ -108,6 +110,7 @@ def require_auth():
|
|||
resp.set_cookie(
|
||||
'redirect',
|
||||
request.url,
|
||||
domain=config.server_domain,
|
||||
secure=True,
|
||||
httponly=True,
|
||||
samesite='strict')
|
||||
|
|
|
@ -12,6 +12,7 @@ FEEDS = [
|
|||
"http://website2.com/rss",
|
||||
]
|
||||
|
||||
server_domain = 'steelbea.me'
|
||||
buckler = {
|
||||
'url': "http://127.0.0.1:5400/buckler",
|
||||
'app_id': 1,
|
||||
|
|
Loading…
Reference in New Issue
Block a user