| 
					
				 | 
			
			
				@@ -16,8 +16,7 @@ module.exports = options => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ctx.set('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const csp = [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'default-src', `'self' 'unsafe-inline' https://*.smartcost.com.cn https://*.aliyuncs.com https://*.qq.com/ https://res.wx.qq.com/;`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            'img-src', `'self' data: blob: https://*.aliyuncs.com http://*.smartcost.com.cn;`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            'default-src', `'self' data: 'unsafe-inline' 'unsafe-eval' https://*.smartcost.com.cn https://*.aliyuncs.com https://*.qq.com/`, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ctx.set('Content-Security-Policy', csp.join(' ')); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // IE8以上版本用户,在下载时,不显示打开选项 
			 |