change session type to file system
This commit is contained in:
parent
517f51d52e
commit
4f682f75ec
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -14,7 +14,7 @@ c = conn.cursor()
|
|||
|
||||
app = Flask(__name__)
|
||||
key = str(uuid.uuid4().hex)
|
||||
app.config['SESSION_TYPE'] = 'redis'
|
||||
app.config['SESSION_TYPE'] = 'filesystem'
|
||||
print(key)
|
||||
app.config['SECRET_KEY'] = key
|
||||
Session(app)
|
||||
|
|
Loading…
Reference in a new issue