Skip to content

Commit

Permalink
fix(tickets): disable uploading .svg as an attachment
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Apr 10, 2022
1 parent d5695cf commit c4b262c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/controllers/tickets.js
Expand Up @@ -575,9 +575,7 @@ ticketsController.uploadImageMDE = function (req, res) {
'.bmp',
'.dib',
'.heif',
'.heic',
'.svg',
'.svgz'
'.heic'
]

if (!allowedExtensions.includes(ext.toLocaleLowerCase())) {
Expand Down

0 comments on commit c4b262c

Please sign in to comment.