Skip to content

Commit

Permalink
updated JS mime type to RFC application/javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
RIAEvangelist committed Aug 23, 2017
1 parent 9a142c3 commit ec4ff27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-http-server",
"version": "8.1.0",
"version": "8.1.1",
"description": "A very simple and fast http server for node, bash, and spawnable from C, Python etc. It is lightweight and great for embedded solutions as well as everyday development or public facing apps.",
"main": "server/Server.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion server/Config.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const defaultConfigs={
contentType : {
html : 'text/html',
css : 'text/css',
js : 'text/javascript',
js : 'application/javascript',
json : 'application/json',
txt : 'text/plain',
jpeg : 'image/jpeg',
Expand Down

0 comments on commit ec4ff27

Please sign in to comment.