1
0
mirror of https://github.com/LibreTranslate/LibreTranslate.git synced 2024-12-18 08:27:03 +02: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_FILE_DIR"] = os.path.join("db", "sessions")
app.config["JSON_AS_ASCII"] = False
Session(app)
if args.debug: