Browse Source

og:image 允许不规范的 image/jpg (兼容网易云音乐)

pull/4/head
欧醚 3 years ago
parent
commit
2a780b1118
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/preview_card.rb

+ 1
- 1
app/models/preview_card.rb View File

@ -27,7 +27,7 @@
#
class PreviewCard < ApplicationRecord
IMAGE_MIME_TYPES = ['image/jpeg', 'image/png', 'image/gif'].freeze
IMAGE_MIME_TYPES = ['image/jpg', 'image/jpeg', 'image/png', 'image/gif'].freeze
LIMIT = 1.megabytes
BLURHASH_OPTIONS = {

Loading…
Cancel
Save