Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added .webapp mime type support

  • Loading branch information...
commit bdb116598e27644e36c108ca0c93b62adbdf1bad 1 parent 95614a6
@ednapiranha ednapiranha authored
Showing with 6 additions and 0 deletions.
  1. +1 −0  test.js
  2. +5 −0 types/node.types
View
1  test.js
@@ -26,6 +26,7 @@ eq('fallback', mime.lookup('text.fallback', 'fallback'));
eq('application/octet-stream', mime.lookup('constructor'));
eq('text/plain', mime.lookup('TEXT.TXT'));
eq('text/event-stream', mime.lookup('text/event-stream'));
+eq('application/x-web-app-manifest+json', mime.lookup('text.webapp'));
//
// Test extensions
View
5 types/node.types
@@ -52,3 +52,8 @@ audio/flac flac
# http://www.w3.org/TR/eventsource/#text-event-stream
# Added by: francois2metz
text/event-stream event-stream
+
+# What: Mozilla App manifest mime type
+# Why: https://developer.mozilla.org/en/Apps/Manifest#Serving_manifests
+# Added by: ednapiranha
+application/x-web-app-manifest+json webapp
Please sign in to comment.
Something went wrong with that request. Please try again.