Skip to content

Commit f173f51

Browse files
authored
Update api.php
1 parent c73d0be commit f173f51

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
@@ -3,7 +3,7 @@
33
class ImageUploader {
44
private const ALLOWED_TYPES = ["image/gif", "image/jpeg", "image/jpg", "image/pjpeg", "image/x-png", "image/png"];
55
private const MAX_SIZE = 5 * 1024 * 1024; // 5MB
6-
private const DOMAINS = ['img.pub', 'pic.2bi.li', 'pic.ym.today'];
6+
private const DOMAINS = ['img.pub', 'pic.ym.today'];
77
private const UPLOAD_URL = 'https://telegra.ph/upload';
88

99
public function upload(): void {

0 commit comments

Comments
 (0)