master
Dave Winer 9 years ago
parent 7ef487d946
commit afc1af3b2f

@ -1,4 +1,4 @@
var myVersion = "0.60a", myProductName = "PagePark";
var myVersion = "0.60c", myProductName = "PagePark";
//The MIT License (MIT)
@ -56,8 +56,7 @@ var configFname = "/config.json";
var mdTemplatePath = "prefs/mdTemplate.txt";
var urlDefaultTemplate = "http://fargo.io/code/pagepark/defaultmarkdowntemplate.txt";
//routines from utils.js, fs.js
function fsSureFilePath (path, callback) {
function fsSureFilePath (path, callback) {
var splits = path.split ("/");
path = ""; //1/8/15 by DW
if (splits.length > 0) {
@ -89,7 +88,6 @@ var urlDefaultTemplate = "http://fargo.io/code/pagepark/defaultmarkdowntemplate.
}
}
}
function httpExt2MIME (ext) { //12/24/14 by DW
mime.default_type = "text/plain";
return (mime.lookup (ext));

Loading…
Cancel
Save