Skip to content

Commit d9dc28f

Browse files
authored
Uploaded v4.5.0 root folder files
1 parent dd241e5 commit d9dc28f

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

app.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
#!/usr/bin/env python3
2+
from datetime import timedelta
23
from src import create_app
34

45
app = 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+
614
if __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)

requirements.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,8 @@ pandas
55
pypdf==6.4.0
66
lxml
77
gunicorn
8-
playwright
8+
playwright
9+
google-api-python-client
10+
google-auth-httplib2
11+
google-auth-oauthlib
12+
google-genai

0 commit comments

Comments
 (0)