File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
2+ from datetime import timedelta
23from src import create_app
34
45app = create_app ()
56
7+ # 30 Days Session Persistence ---
8+ app .config ['PERMANENT_SESSION_LIFETIME' ] = timedelta (days = 30 )
9+ # Security headers for PWA reliability
10+ app .config ['SESSION_COOKIE_SECURE' ] = True
11+ app .config ['SESSION_COOKIE_HTTPONLY' ] = True
12+ app .config ['SESSION_COOKIE_SAMESITE' ] = 'Lax'
13+
614if __name__ == "__main__" :
715 print (f"\n { '=' * 60 } " )
8- print ("QUANTITATIVE CRYPTO VOLUME ANALYSIS TOOLKIT - v4.1.5 " )
16+ print ("QUANTITATIVE CRYPTO VOLUME ANALYSIS TOOLKIT - v4.2.0 " )
917 print (f"{ '=' * 60 } " )
1018
19+ # Debug=False is correct for production PWA deployment
1120 app .run (host = "0.0.0.0" , port = 7860 , debug = False )
Original file line number Diff line number Diff line change 55pypdf == 6.4.0
66lxml
77gunicorn
8- playwright
8+ playwright
9+ google-api-python-client
10+ google-auth-httplib2
11+ google-auth-oauthlib
12+ google-genai
You can’t perform that action at this time.
0 commit comments