mirror of
				https://github.com/vastxie/99AI.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	优化阿里云 OSS 上传安全性配置,指定返回URL为HTTPS
This commit is contained in:
		@@ -224,6 +224,8 @@ export class UploadService implements OnModuleInit {
 | 
			
		||||
      accessKeyId,
 | 
			
		||||
      accessKeySecret,
 | 
			
		||||
      bucket: removeSpecialCharacters(bucket),
 | 
			
		||||
      authorizationV4: true,
 | 
			
		||||
      secure: true,
 | 
			
		||||
    });
 | 
			
		||||
    try {
 | 
			
		||||
      console.log('ali 开始上传');
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user