fix flags
This commit is contained in:
@@ -25,6 +25,12 @@ const MIME_TYPES: Record<string, string> = {
|
||||
".jpeg": "image/jpeg",
|
||||
".webp": "image/webp",
|
||||
".gif": "image/gif",
|
||||
".svg": "image/svg+xml",
|
||||
".ico": "image/x-icon",
|
||||
".woff": "font/woff",
|
||||
".woff2": "font/woff2",
|
||||
".ttf": "font/ttf",
|
||||
".eot": "application/vnd.ms-fontobject",
|
||||
};
|
||||
|
||||
export function mimeType(filePath: string) {
|
||||
|
||||
Reference in New Issue
Block a user