mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-22 07:51:00 +00:00
commit
73421cd709
1 changed files with 1 additions and 0 deletions
|
@ -1058,6 +1058,7 @@ def create_app(args):
|
||||||
|
|
||||||
app.config["SESSION_TYPE"] = "filesystem"
|
app.config["SESSION_TYPE"] = "filesystem"
|
||||||
app.config["SESSION_FILE_DIR"] = os.path.join("db", "sessions")
|
app.config["SESSION_FILE_DIR"] = os.path.join("db", "sessions")
|
||||||
|
app.config["JSON_AS_ASCII"] = False
|
||||||
Session(app)
|
Session(app)
|
||||||
|
|
||||||
if args.debug:
|
if args.debug:
|
||||||
|
|
Loading…
Reference in a new issue