Page MenuHomeSealhub

No OneTemporary

Authored By
Unknown
Size
964 B
Referenced Files
None
Subscribers
None
diff --git a/src/back/image-router.ts b/src/back/image-router.ts
index ef6cea3..2946449 100644
--- a/src/back/image-router.ts
+++ b/src/back/image-router.ts
@@ -1,23 +1,23 @@
import { KoaResponsiveImageRouter } from "koa-responsive-image-router";
import {
IMAGE_CACHE_FS_DIR,
SMARTCROP_CACHE_FS_DIR,
IMAGE_CACHE_SIZE,
IMAGE_SMARTCROP_CACHE_SIZE,
IMAGE_THUMBNAIL_CACHE_SIZE,
} from "./config.js";
export const RESPONSIVE_IMAGES_URL_PATH = "/images";
export const imageRouter = new KoaResponsiveImageRouter({
staticPath: RESPONSIVE_IMAGES_URL_PATH,
thumbnailSize: 20,
- cacheManagerResolutionThreshold: 50,
+ cacheManagerResolutionThreshold: 21,
imageStoragePath: IMAGE_CACHE_FS_DIR,
smartCropStoragePath: SMARTCROP_CACHE_FS_DIR,
formatsForLossy: ["webp"],
formatsForLossless: ["webp"],
diskImageCacheSize: IMAGE_CACHE_SIZE,
smartCropCacheSize: IMAGE_SMARTCROP_CACHE_SIZE,
thumbnailMaxCacheSize: IMAGE_THUMBNAIL_CACHE_SIZE,
});

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 9, 13:57 (5 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1182260
Default Alt Text
(964 B)

Event Timeline