Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ app.secret_key = b'_5#y2L"F4Q8z\n\xec]/' # Change this key for secure deployment
|
|
11 |
csrf = CSRFProtect(app)
|
12 |
app.config['WTF_CSRF_CHECK_DEFAULT'] = False
|
13 |
app.config['SESSION_COOKIE_SECURE'] = True
|
14 |
-
app.config['SESSION_COOKIE_SAMESITE'] = 'None'
|
15 |
|
16 |
SESSION_DICT = {}
|
17 |
|
|
|
11 |
csrf = CSRFProtect(app)
|
12 |
app.config['WTF_CSRF_CHECK_DEFAULT'] = False
|
13 |
app.config['SESSION_COOKIE_SECURE'] = True
|
14 |
+
app.server.config['SESSION_COOKIE_SAMESITE'] = 'None'
|
15 |
|
16 |
SESSION_DICT = {}
|
17 |
|