forked from Fragrance/maquitous
fix: flask ensure ascii.
This commit is contained in:
parent
db007f7d7f
commit
30a7ab684e
1
main.py
1
main.py
@ -59,6 +59,7 @@ def item(item_data, user_character_list):
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
app.json.sort_keys = False
|
app.json.sort_keys = False
|
||||||
|
app.json.ensure_ascii = False
|
||||||
CORS(app)
|
CORS(app)
|
||||||
|
|
||||||
@app.errorhandler(404)
|
@app.errorhandler(404)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user