合并日志 新增自定义文件路径
This commit is contained in:
@@ -49,6 +49,6 @@ class MinioStorage implements Storage {
|
||||
Future<String> uploadObject(
|
||||
String bucketName, String objectName, Uint8List data) async {
|
||||
await _minio.putObject(bucketName, objectName, Stream.fromIterable([data]));
|
||||
return "http${_config.ssl ? "s" : ""}://${_config.host}:${_config.port}/$bucketName/$objectName";
|
||||
return "${_config.path ?? 'http${_config.ssl ? "s" : ""}://${_config.host}:${_config.port}'}/$bucketName/$objectName";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user