Skip to content

Commit

Permalink
Added webp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Saxena committed Apr 8, 2024
1 parent 6c82aab commit 34b30ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/config/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const APIKEY_RESTRICTION_CUSTOM = "custom";
export const tempFileDirForUploads = process.env.TEMP_FILE_DIR_FOR_UPLOADS;
export const maxFileUploadSize = process.env.MAX_UPLOAD_SIZE || 2147483648;
export const imagePattern = /^image\/(jpe?g|png)$/;
export const imagePatternIncludingGif = /^image\/(jpe?g|png|gif)$/;
export const imagePatternIncludingGif = /^image\/(jpe?g|png|gif|webp)$/;
export const videoPattern = /video/;
export const cloudEndpoint = process.env.CLOUD_ENDPOINT || "";
export const cloudRegion = process.env.CLOUD_REGION || "";
Expand Down

0 comments on commit 34b30ff

Please sign in to comment.