From da9c79a533448f6b7fd61e59e3235b4e17a0d5df Mon Sep 17 00:00:00 2001 From: Steven Bower Date: Tue, 6 Feb 2024 09:01:35 +0800 Subject: [PATCH] Fix video not loading #808 Route collision with thumbnail path and video path. Results in videos not loading properly. --- src/backend/routes/GalleryRouter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/routes/GalleryRouter.ts b/src/backend/routes/GalleryRouter.ts index 25bdd4ac..526da5a0 100644 --- a/src/backend/routes/GalleryRouter.ts +++ b/src/backend/routes/GalleryRouter.ts @@ -16,9 +16,9 @@ export class GalleryRouter { this.addGetImageIcon(app); this.addGetVideoIcon(app); this.addGetResizedPhoto(app); + this.addGetBestFitVideo(app); this.addGetVideoThumbnail(app); this.addGetImage(app); - this.addGetBestFitVideo(app); this.addGetVideo(app); this.addGetMetaFile(app); this.addGetBestFitMetaFile(app);