From c59f1c0740f70132a233db40649d8bebdaa3b4a7 Mon Sep 17 00:00:00 2001 From: curben <2809763-curben@users.noreply.gitlab.com> Date: Sun, 25 Aug 2019 18:41:52 +0930 Subject: [PATCH] refactor(cloudinary): remove unused w_auto and c_scale parameters * only applicable in Cloudinary js library --- scripts/cloudinary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/cloudinary.js b/scripts/cloudinary.js index cceddbd..2098938 100644 --- a/scripts/cloudinary.js +++ b/scripts/cloudinary.js @@ -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')