mirror of
https://github.com/imgfloat/server.git
synced 2026-02-05 03:39:26 +00:00
Add lichess marketplace script
This commit is contained in:
@@ -34,6 +34,7 @@ public class MarketplaceScriptSeedLoader {
|
||||
java.util.Map.entry("jpeg", "image/jpeg"),
|
||||
java.util.Map.entry("gif", "image/gif"),
|
||||
java.util.Map.entry("webp", "image/webp"),
|
||||
java.util.Map.entry("svg", "image/svg+xml"),
|
||||
java.util.Map.entry("mp4", "video/mp4"),
|
||||
java.util.Map.entry("webm", "video/webm"),
|
||||
java.util.Map.entry("mov", "video/quicktime"),
|
||||
|
||||
@@ -64,6 +64,7 @@ public final class MediaTypeRegistry {
|
||||
map.put("jpeg", "image/jpeg");
|
||||
map.put("gif", "image/gif");
|
||||
map.put("webp", "image/webp");
|
||||
map.put("svg", "image/svg+xml");
|
||||
map.put("bmp", "image/bmp");
|
||||
map.put("tiff", "image/tiff");
|
||||
map.put("mp4", "video/mp4");
|
||||
@@ -89,6 +90,7 @@ public final class MediaTypeRegistry {
|
||||
map.put("image/jpg", ".jpg");
|
||||
map.put("image/gif", ".gif");
|
||||
map.put("image/webp", ".webp");
|
||||
map.put("image/svg+xml", ".svg");
|
||||
map.put("image/bmp", ".bmp");
|
||||
map.put("image/tiff", ".tiff");
|
||||
map.put("video/mp4", ".mp4");
|
||||
|
||||
Reference in New Issue
Block a user