Skip to content

Commit 17cf1ed

Browse files
authored
Update api.php
1 parent 0a35965 commit 17cf1ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/api.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class ImageUploader {
44
private const ALLOWED_EXTENSIONS = ['gif', 'jpeg', 'jpg', 'png'];
55
private const MAX_SIZE = 5 * 1024 * 1024; // 5MB
66
private const MAX_RESOLUTION = 25 * 1024 * 1024; // 25MB
7-
private const DOMAINS = ['img.pub', 'pic.ym.today'];
7+
private const DOMAINS = ['img.pub'];
88
private const UPLOAD_URL = 'https://telegra.ph/upload';
99

1010
// 文件头部的魔术数字

0 commit comments

Comments
 (0)