Skip to content

Commit

Permalink
Update api.php
Browse files Browse the repository at this point in the history
  • Loading branch information
0-RTT authored May 26, 2024
1 parent 0a35965 commit 17cf1ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ImageUploader {
private const ALLOWED_EXTENSIONS = ['gif', 'jpeg', 'jpg', 'png'];
private const MAX_SIZE = 5 * 1024 * 1024; // 5MB
private const MAX_RESOLUTION = 25 * 1024 * 1024; // 25MB
private const DOMAINS = ['img.pub', 'pic.ym.today'];
private const DOMAINS = ['img.pub'];
private const UPLOAD_URL = 'https://telegra.ph/upload';

// 文件头部的魔术数字
Expand Down

0 comments on commit 17cf1ed

Please sign in to comment.