Implemented file uploading
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-25 04:02:26 +01:00
parent 71d942477a
commit 186c51301d
2 changed files with 37 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ app.secret_key = os.environ.get('SECRET_KEY', os.urandom(12))
app.config['MINIO_ENDPOINT'] = os.environ['MINIO_ENDPOINT']
app.config['MINIO_ACCESS_KEY'] = os.environ['MINIO_ACCESS_KEY']
app.config['MINIO_SECRET_KEY'] = os.environ['MINIO_SECRET_KEY']
app.config['MINIO_BUCKET_NAME'] = os.environ['MINIO_BUCKET_NAME']
# register error handlers
register_all_error_handlers(app)