daveappserver 0.5.49 → 0.5.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/appserver.js +5 -2
  2. package/package.json +1 -1
package/appserver.js CHANGED
@@ -1,4 +1,4 @@
1
- var myVersion = "0.5.49", myProductName = "daveAppServer";
1
+ var myVersion = "0.5.50", myProductName = "daveAppServer";
2
2
 
3
3
  exports.start = startup;
4
4
  exports.notifySocketSubscribers = notifySocketSubscribers;
@@ -49,6 +49,8 @@ var config = {
49
49
  defaultContentType: "text/plain", //8/3/21 by DW
50
50
 
51
51
  userAgent: myProductName + " v" + myVersion //11/8/21 by DW
52
+
53
+ whitelist: undefined //7/21/22 by DW
52
54
  };
53
55
  const fnameConfig = "config.json";
54
56
 
@@ -1019,7 +1021,8 @@ function startup (options, callback) {
1019
1021
  flEnableLogin: config.flEnableLogin,
1020
1022
  prefsPath: config.prefsPath,
1021
1023
  docsPath: config.docsPath,
1022
- idGitHubClient: config.githubClientId //11/9/21 by DW
1024
+ idGitHubClient: config.githubClientId, //11/9/21 by DW
1025
+ whitelist: config.whitelist //7/21/22 by DW
1023
1026
  };
1024
1027
  if (theRequest.addToPagetable !== undefined) { //3/9/21 by DW
1025
1028
  for (var x in theRequest.addToPagetable) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "daveappserver",
3
3
  "description": "Factored code that was appearing in all my servers.",
4
- "version": "0.5.49",
4
+ "version": "0.5.50",
5
5
  "main": "appserver.js",
6
6
  "repository": {
7
7
  "type" : "git",