Compare commits
No commits in common. "714b1ff4eb20343dfbe03cc2b2d8dcac3568474f" and "cd1097d3d0d59af34ca87547c166f59ab3297a8a" have entirely different histories.
714b1ff4eb
...
cd1097d3d0
2
env/debug.yaml
vendored
2
env/debug.yaml
vendored
@ -25,7 +25,7 @@ oss:
|
||||
access_key_id: GTK7i3SVy9llQeGH0Htv
|
||||
access_key_secret: 2psmKXZFpevA9n5ntSDRMqFBpZuSz32dvtXjYclf
|
||||
endpoint: minio-server-mwbc.onrender.com
|
||||
bucket_name: uploads
|
||||
bucket_name: legalgonews-production
|
||||
log_level: Error
|
||||
host_url: https://minio-server-mwbc.onrender.com
|
||||
public_url: https://minio-server-mwbc.onrender.com
|
||||
|
||||
2
env/production.yaml
vendored
2
env/production.yaml
vendored
@ -25,7 +25,7 @@ oss:
|
||||
access_key_id: GTK7i3SVy9llQeGH0Htv
|
||||
access_key_secret: 2psmKXZFpevA9n5ntSDRMqFBpZuSz32dvtXjYclf
|
||||
endpoint: minio-server-mwbc.onrender.com
|
||||
bucket_name: uploads
|
||||
bucket_name: legalgonews-production
|
||||
log_level: Error
|
||||
host_url: https://minio-server-mwbc.onrender.com
|
||||
public_url: https://minio-server-mwbc.onrender.com
|
||||
|
||||
@ -66,7 +66,7 @@ func (r *OssRepositoryImpl) GetPublicURL(fileName string) string {
|
||||
if fileName == "" {
|
||||
return ""
|
||||
}
|
||||
return fmt.Sprintf("%s/%s%s", r.cfg.GetPublicURL(), r.cfg.GetBucketName(), fileName)
|
||||
return fmt.Sprintf("%s:%s%s", r.cfg.GetPublicURL(), r.cfg.GetBucketName(), fileName)
|
||||
}
|
||||
|
||||
func (r *OssRepositoryImpl) DeleteObject(ctx context.Context, fileName string) error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user