From 37076049e12acc1aa99d3fad63d3188aea72b697 Mon Sep 17 00:00:00 2001 From: Bobby Wibowo Date: Mon, 1 Feb 2021 05:20:47 +0700 Subject: [PATCH] style: sort extension names in home.js --- src/js/home.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/home.js b/src/js/home.js index b5a8f7d..3281f5d 100644 --- a/src/js/home.js +++ b/src/js/home.js @@ -55,8 +55,8 @@ const page = { // Include BMP for uploads preview only, cause the real images will be used // Sharp isn't capable of making their thumbnails for dashboard and album public pages - imageExts: ['.webp', '.jpg', '.jpeg', '.bmp', '.gif', '.png', '.tiff', '.tif', '.svg'], - videoExts: ['.webm', '.mp4', '.wmv', '.avi', '.mov', '.mkv', '.m4v', '.m2ts'], + imageExts: ['.gif', '.jpeg', '.jpg', '.png', '.svg', '.tif', '.tiff', '.webp', '.bmp'], + videoExts: ['.avi', '.m2ts', '.m4v', '.mkv', '.mov', '.mp4', '.webm', '.wmv'], albumTitleMaxLength: 70, albumDescMaxLength: 4000