Commit 74bf8d05 authored by khws4v1's avatar khws4v1

Relax media attachment file size limit

Image: 8MB -> 10MB
Movie: 40MB -> 100MB
parent b93c2eab
......@@ -103,8 +103,8 @@ class MediaAttachment < ApplicationRecord
original: VIDEO_FORMAT,
IMAGE_LIMIT = 8.megabytes
VIDEO_LIMIT = 40.megabytes
IMAGE_LIMIT = 10.megabytes
VIDEO_LIMIT = 100.megabytes
belongs_to :account, inverse_of: :media_attachments, optional: true
belongs_to :status, inverse_of: :media_attachments, optional: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment