Update 'face_recognition/app/app.py'
This commit is contained in:
parent
05f5d947db
commit
dd69300069
@ -9,7 +9,7 @@ def hello_docker():
|
||||
|
||||
@app.route('/acces_minio')
|
||||
def access_minio():
|
||||
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=True)
|
||||
minioClient = Minio('minio:9000', access_key=os.environ['s3-name'], secret_key=os.environ['s3-password'], secure=False)
|
||||
|
||||
return minioClient.list_buckets()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user