mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-25 08:29:26 +00:00
feat(transcode): add markdown file to pdf proxy support
This commit is contained in:
@@ -33,6 +33,8 @@ export function getMediaType(filename: string): string {
|
||||
'.wav': 'audio/wav',
|
||||
'.ogg': 'audio/ogg',
|
||||
'.txt': 'text/plain',
|
||||
'.md': 'text/markdown',
|
||||
'.markdown': 'text/markdown',
|
||||
'.json': 'application/json',
|
||||
'.pdf': 'application/pdf',
|
||||
'.zip': 'application/zip',
|
||||
|
||||
Reference in New Issue
Block a user