mirror of
https://github.com/LibreTranslate/LibreTranslate.git
synced 2024-11-17 13:00:11 +01:00
commit
73421cd709
@ -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 New Issue
Block a user