From 150ebce922a16ec78602c0e8315b27e9ae30c04d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20K=C3=B6rner?= Date: Thu, 12 Oct 2023 16:51:15 +0200 Subject: [PATCH] Change: Enable exif by default --- src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.ts b/src/config.ts index 81f2da6..d0649e6 100644 --- a/src/config.ts +++ b/src/config.ts @@ -11,7 +11,7 @@ export const config: Config = { max: Number(process.env.PNG_SIZE_MAX ?? 256), default: Number(process.env.PNG_SIZE_DEFAULT ?? 128), }, - exif: Boolean(Number(process.env.PNG_EXIF) ?? 0), + exif: Boolean(Number(process.env.PNG_EXIF) ?? 1), }, jpeg: { enabled: Boolean(Number(process.env.JPEG ?? 1)), @@ -20,7 +20,7 @@ export const config: Config = { max: Number(process.env.JPEG_SIZE_MAX ?? 256), default: Number(process.env.JPEG_SIZE_DEFAULT ?? 128), }, - exif: Boolean(Number(process.env.JPEG_EXIF) ?? 0), + exif: Boolean(Number(process.env.JPEG_EXIF) ?? 1), }, json: { enabled: Boolean(Number(process.env.JSON) ?? 1),