Skip to content

Commit 47ccb62

Browse files
committed
Ed: adding in gif extension
1 parent 4681c34 commit 47ccb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/creatubbles/api/util/HttpUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public static class Response {
1919
public int code;
2020
}
2121

22-
public static final List<String> allowedFileTypes = Arrays.asList("png", "jpg", "jpeg", "h264", "mpeg4", "wmv", "webm", "flv", "ogg", "ogv", "mp4", "m4v", "f4v", "mov", "zip");
22+
public static final List<String> allowedFileTypes = Arrays.asList("png", "gif", "jpg", "jpeg", "h264", "mpeg4", "wmv", "webm", "flv", "ogg", "ogv", "mp4", "m4v", "f4v", "mov", "zip");
2323

2424
public static Response uploadObject(byte[] data, String url, String mimeType) throws IOException {
2525
HttpURLConnection connection = null;

0 commit comments

Comments
 (0)