Add status indicator to videos that are not yet downscaled
This commit is contained in:
parent
832189a346
commit
63c4c5837f
5 changed files with 217 additions and 3767 deletions
|
@ -4,6 +4,7 @@ import type {
|
|||
Response,
|
||||
NextFunction,
|
||||
} from "express";
|
||||
|
||||
import multer from "multer";
|
||||
import express from "express";
|
||||
import imageProbe from "probe-image-size";
|
||||
|
@ -65,6 +66,10 @@ router.get(
|
|||
},
|
||||
);
|
||||
|
||||
/*router.get("/media-list", fetchMedia, (req: Request, res: Response) => {
|
||||
res.render("partials/_fileList"); // Render only the file list partial
|
||||
});*/
|
||||
|
||||
router.get(
|
||||
"/gifv/:file",
|
||||
async (req: Request, res: Response, next: NextFunction) => {
|
||||
|
@ -166,4 +171,3 @@ router.post(
|
|||
);
|
||||
|
||||
export default router;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue