experimental flash support through ruffle

This commit is contained in:
Henry Jameson 2021-04-09 19:09:22 +03:00
parent 8b96ea9377
commit d695dcaff9
9 changed files with 43 additions and 0 deletions

View file

@ -2,6 +2,10 @@
// or the entire service could be just mimetype service that only operates
// on mimetypes and not files. Currently the naming is confusing.
const fileType = mimetype => {
if (mimetype.match(/flash/)) {
return 'flash'
}
if (mimetype.match(/text\/html/)) {
return 'html'
}