We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a35965 commit 17cf1edCopy full SHA for 17cf1ed
api/api.php
@@ -4,7 +4,7 @@ class ImageUploader {
4
private const ALLOWED_EXTENSIONS = ['gif', 'jpeg', 'jpg', 'png'];
5
private const MAX_SIZE = 5 * 1024 * 1024; // 5MB
6
private const MAX_RESOLUTION = 25 * 1024 * 1024; // 25MB
7
- private const DOMAINS = ['img.pub', 'pic.ym.today'];
+ private const DOMAINS = ['img.pub'];
8
private const UPLOAD_URL = 'https://telegra.ph/upload';
9
10
// 文件头部的魔术数字
0 commit comments