mirror of https://gitlab.com/curben/blog
				
				
				
			refactor(cloudinary): remove unused w_auto and c_scale parameters
* only applicable in Cloudinary js library
This commit is contained in:
		
							parent
							
								
									a75a36714b
								
							
						
					
					
						commit
						c59f1c0740
					
				|  | @ -15,7 +15,7 @@ hexo.extend.tag.register('cloudinary', (args) => { | |||
|   let modern = '' | ||||
|   let legacy = '' | ||||
|   const cloudinary = 'https://res.cloudinary.com/' + user + | ||||
|     '/image/upload/w_auto,f_auto,q_auto,c_scale/c_limit,' | ||||
|     '/image/upload/f_auto,q_auto/c_limit,' | ||||
| 
 | ||||
|   if (fileName.endsWith('.png')) { | ||||
|     modern = fileName.replace(/\.png$/, '.webp') | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue