master
Dave Winer 7 years ago
parent 7b65498f71
commit a65c6c5197

@ -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 <a href="https://www.npmjs.com/package/mime">mime package</a> had a breaking change. I fixed it so it no longer breaks PagePark. Thanks to Davis Shaver for the <a href="https://github.com/scripting/pagePark/issues/7">report</a>.
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.

@ -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 <dave@smallpicture.com>",
"version": "0.48.0",
"version": "0.7.6",
"scripts": {
"start": "node 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) {

Loading…
Cancel
Save