|
|
@@ -58,8 +58,9 @@ export class AliyunService {
|
|
|
})
|
|
|
try {
|
|
|
const result = await client.put(path, data)
|
|
|
+ Logger.log(result)
|
|
|
if (result.res.status === 200) {
|
|
|
- return { url: result.url }
|
|
|
+ return { url: result.url.replace('http:', 'https:') }
|
|
|
} else {
|
|
|
throw new InternalServerErrorException(result.res.statusMessage)
|
|
|
}
|