mirror of
https://github.com/simon987/nyaa.git
synced 2025-12-14 15:49:02 +00:00
utf8mb4 for database connection
This commit is contained in:
@@ -12,6 +12,7 @@ app.config.from_object('config')
|
||||
|
||||
# Database
|
||||
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
|
||||
app.config['MYSQL_DATABASE_CHARSET'] = 'utf8mb4'
|
||||
|
||||
# Don't refresh cookie each request
|
||||
app.config['SESSION_REFRESH_EACH_REQUEST'] = False
|
||||
|
||||
Reference in New Issue
Block a user