mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-19 00:33:17 +00:00
Change MAX_IMAGE_PIXELS
Increase IMAGE_LIMIT, VIDEO_LIMIT
This commit is contained in:
parent
6fef22365d
commit
43341d82db
2 changed files with 4 additions and 4 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import EXIF from 'exif-js';
|
||||
|
||||
const MAX_IMAGE_PIXELS = 1638400; // 1280x1280px
|
||||
const MAX_IMAGE_PIXELS = 3686400; //1920x1920px
|
||||
|
||||
const getImageUrl = inputFile => new Promise((resolve, reject) => {
|
||||
if (window.URL && URL.createObjectURL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue