mirror of
https://github.com/Nezumi-2711/onedrive-vercel-index.git
synced 2026-09-22 13:38:45 +00:00
preview for subtitle files
This commit is contained in:
@@ -69,6 +69,11 @@ const extensions = {
|
||||
|
||||
txt: icons.text,
|
||||
rtf: icons.text,
|
||||
vtt: icons.text,
|
||||
srt: icons.text,
|
||||
log: icons.text,
|
||||
diff: icons.text,
|
||||
|
||||
md: icons.markdown,
|
||||
|
||||
epub: icons.book,
|
||||
|
||||
@@ -51,6 +51,10 @@ export const extensions = {
|
||||
toml: preview.code,
|
||||
|
||||
txt: preview.text,
|
||||
vtt: preview.text,
|
||||
srt: preview.text,
|
||||
log: preview.text,
|
||||
diff: preview.text,
|
||||
|
||||
mp4: preview.video,
|
||||
flv: preview.video,
|
||||
|
||||
Reference in New Issue
Block a user