Skip to content

Commit

Permalink
fix: use private network upload statics (#1032)
Browse files Browse the repository at this point in the history
  • Loading branch information
tea-artist authored Oct 28, 2024
1 parent f64c4cb commit ac1626a
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,12 @@ export class MinioStorage implements StorageAdapter {
filePath: string,
metadata: Record<string, string | number>
) {
const { etag: hash } = await this.minioClient.fPutObject(bucket, path, filePath, metadata);
const { etag: hash } = await this.minioClientPrivateNetwork.fPutObject(
bucket,
path,
filePath,
metadata
);
return {
hash,
path,
Expand Down

0 comments on commit ac1626a

Please sign in to comment.