Spaces:
Sleeping
Sleeping
Commit
·
e8d6aa5
1
Parent(s):
60a6ab2
fix app.py file
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ import json
|
|
| 28 |
app = Flask(__name__, static_url_path='/static')
|
| 29 |
# Set secret key
|
| 30 |
app.config['SECRET_KEY'] = 'faith'
|
| 31 |
-
|
| 32 |
|
| 33 |
@app.route("/validate_learning", methods=['GET'])
|
| 34 |
def load_learning():
|
|
|
|
| 28 |
app = Flask(__name__, static_url_path='/static')
|
| 29 |
# Set secret key
|
| 30 |
app.config['SECRET_KEY'] = 'faith'
|
| 31 |
+
app.config['PERMANENT_SESSION_LIFETIME'] = timedelta(minutes=60)
|
| 32 |
|
| 33 |
@app.route("/validate_learning", methods=['GET'])
|
| 34 |
def load_learning():
|