Upload images to the filesystem by default, rather than to imgur
Signed-off-by: Maxence Ahlouche <maxence.ahlouche@gmail.com>
This commit is contained in:
		
							parent
							
								
									429257880b
								
							
						
					
					
						commit
						972a81aa6f
					
				@ -139,7 +139,7 @@ if (config.sessionSecret === 'secret') {
 | 
			
		||||
// Validate upload upload providers
 | 
			
		||||
if (['filesystem', 's3', 'minio', 'imgur', 'azure'].indexOf(config.imageUploadType) === -1) {
 | 
			
		||||
  logger.error('"imageuploadtype" is not correctly set. Please use "filesystem", "s3", "minio", "azure" or "imgur". Defaulting to "imgur"')
 | 
			
		||||
  config.imageUploadType = 'imgur'
 | 
			
		||||
  config.imageUploadType = 'filesystem'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// figure out mime types for image uploads
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user