Just change the image/jpeg to image/jpg
image/jpeg
image/jpg
something like this:
accept: { 'image/png': ['.png'], 'image/jpg': ['.jpeg'],
}