Skip to content

Commit

Permalink
Fix: JSON and EXIF options
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianKoerner committed Oct 13, 2023
1 parent b978557 commit d897ed9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) ?? 1),
exif: Boolean(Number(process.env.PNG_EXIF ?? 1)),
},
jpeg: {
enabled: Boolean(Number(process.env.JPEG ?? 1)),
Expand All @@ -20,10 +20,10 @@ 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) ?? 1),
exif: Boolean(Number(process.env.JPEG_EXIF ?? 1)),
},
json: {
enabled: Boolean(Number(process.env.JSON) ?? 1),
enabled: Boolean(Number(process.env.JSON ?? 1)),
},
versions: process.env.VERSIONS?.split(',').map(Number) ?? [5, 6, 7],
cacheControl: {
Expand Down

0 comments on commit d897ed9

Please sign in to comment.