This commit is contained in:
syuilo
2021-12-09 23:58:30 +09:00
parent 0abe2dfee0
commit c69b72e199
573 changed files with 3318 additions and 3318 deletions

View File

@ -26,12 +26,12 @@ export type FileInfo = {
const TYPE_OCTET_STREAM = {
mime: 'application/octet-stream',
ext: null
ext: null,
};
const TYPE_SVG = {
mime: 'image/svg+xml',
ext: 'svg'
ext: 'svg',
};
/**
@ -116,7 +116,7 @@ export async function detectType(path: string) {
return {
mime: type.mime,
ext: type.ext
ext: type.ext,
};
}