diff --git a/README.md b/README.md index 59d4f3c..82ebc4a 100644 --- a/README.md +++ b/README.md @@ -266,6 +266,14 @@ There will always be more work to do here. ;-) ### Updates +#### v0.7.6 9/16/17 by DW + +Two changes: + +1. The mime package had a breaking change. I fixed it so it no longer breaks PagePark. Thanks to Davis Shaver for the report. + +2. Changed the version number system to use the same x.y.z system used by other Node apps. This is v0.7.6. + #### v0.75 7/17/17 by DW Check stats every minute instead of every second. This means that servers that take a lot of hits won't be writing the stats file so often. If you run PagePark out of a shared folder this can mean a lot of updating, it's not really protecting against anything critical. diff --git a/package.json b/package.json index a13b2e7..8e34b43 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "PagePark", "description": "A simple Node.js folder-based HTTP server that serves static and dynamic pages for domains.", "author": "Dave Winer ", - "version": "0.48.0", + "version": "0.7.6", "scripts": { "start": "node pagepark.js" }, diff --git a/pagepark.js b/pagepark.js index ff34c16..fdf9f9d 100644 --- a/pagepark.js +++ b/pagepark.js @@ -1,4 +1,4 @@ -var myVersion = "0.75a", myProductName = "PagePark"; +var myVersion = "0.7.6", myProductName = "PagePark"; /* The MIT License (MIT) Copyright (c) 2014-2017 Dave Winer @@ -67,7 +67,7 @@ var flEveryMinuteScheduled = false; //7/17/17 by DW function httpExt2MIME (ext) { //12/24/14 by DW mime.default_type = "text/plain"; - return (mime.lookup (ext)); + return (mime.getType (ext)); } function httpReadUrl (url, callback) { request (url, function (error, response, body) {