1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-11-17 13:00:11 +01:00

Merge pull request #443 from pierotofy/main

Allow UTF-8 JSON output
This commit is contained in:
Piero Toffanin 2023-05-29 16:51:44 -04:00 committed by GitHub
commit 73421cd709
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: