experimental flash support through ruffle
This commit is contained in:
parent
8b96ea9377
commit
d695dcaff9
9 changed files with 43 additions and 0 deletions
|
@ -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'
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue