http-file-server
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -21,2 +21,4 @@ #!/usr/bin/env node | ||
// case insensitive | ||
/** pages/styles/plain-text */ | ||
'.html' : 'text/html; charset='+defEnc, | ||
@@ -27,2 +29,4 @@ '.css' : 'text/css; charset='+defEnc, | ||
'.txt' : 'text/plain; charset='+defEnc, | ||
/** images */ | ||
'.png' : 'image/png', | ||
@@ -37,3 +41,8 @@ '.jpeg' : 'image/jpeg', | ||
// downloading other files | ||
/** fonts */ | ||
'.eot' : 'application/vnd.ms-fontobject', | ||
'.woff' : 'application/font-woff', | ||
'.ttf' : 'font/ttf', | ||
/** downloading other files */ | ||
'*' : 'application/octet-stream' | ||
@@ -40,0 +49,0 @@ }; |
@@ -12,3 +12,3 @@ { | ||
"license": "GPLv3", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "Viacheslav Lotsmanov (unclechu)", | ||
@@ -15,0 +15,0 @@ "email": "lotsmanov89@gmail.com", |
@@ -1,4 +0,4 @@ | ||
node-http-file-server | ||
===================== | ||
Simple HTTP file server (Node.JS) | ||
================================= | ||
Node.JS HTTP file server | ||
[](https://nodei.co/npm/http-file-server/) |
46431
262