celery/types.js

29 lines
861 B
JavaScript
Raw Permalink Normal View History

2022-03-15 03:33:47 +00:00
const types = new Map();
types.set("css", "text/css");
types.set("html", "text/html");
types.set("txt", "text/plain");
2024-07-28 13:37:14 +00:00
types.set("xml", "text/xml");
2022-03-15 03:33:47 +00:00
types.set("js", "text/javascript");
types.set("md", "text/markdown");
2022-03-16 06:02:09 +00:00
types.set("gmi", "text/gemini");
2022-03-15 03:33:47 +00:00
types.set("png", "image/png");
types.set("jpg", "image/jpeg");
types.set("jpeg", "image/jpeg");
types.set("gif", "image/gif");
2022-03-26 19:35:46 +00:00
types.set("apng", "image/png");
types.set("svg", "image/svg");
2022-04-15 00:26:36 +00:00
types.set("webp", "image/webp");
2024-07-28 13:37:14 +00:00
types.set("ico", "image/x-icon");
2022-03-15 03:33:47 +00:00
types.set("ogg", "audio/ogg");
2022-03-19 05:49:28 +00:00
types.set("opus", "audio/ogg");
2022-03-15 03:33:47 +00:00
types.set("mp3", "audio/mp3");
types.set("mkv", "video/mkv");
types.set("mp4", "video/mp4");
2022-03-26 19:35:46 +00:00
types.set("mov", "video/quicktime");
2022-03-16 06:02:09 +00:00
types.set("pdf", "application/pdf");
types.set("json", "application/json");
types.set("zip", "application/zip");
2022-03-15 03:33:47 +00:00
module.exports = types;