From 90b6531d76f3452c38b318e169bad45ee3701614 Mon Sep 17 00:00:00 2001 From: supositware Date: Sat, 12 Jun 2021 18:32:09 +0200 Subject: [PATCH] Show WidthxHeight instead of note --- routes/index.js | 2 +- views/index.ejs | 17 +++++++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/routes/index.js b/routes/index.js index df0096d..a693901 100644 --- a/routes/index.js +++ b/routes/index.js @@ -105,7 +105,7 @@ router.get('/format', function (req, res ,next) { return; i++; - formats.push({ext: format.ext, id: format.format_id, note: format.format_note}); + formats.push({ext: format.ext, id: format.format_id, note: `${format.width}x${format.height}`}); }); return res.send(formats); diff --git a/views/index.ejs b/views/index.ejs index 55991ef..26e1409 100644 --- a/views/index.ejs +++ b/views/index.ejs @@ -51,15 +51,6 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a
-

-

- -
-

@@ -68,9 +59,15 @@ Come take a look here https://git.namejeff.xyz/Supositware/jeff-downloader for a

+
+ +
-