cloudcms-server 3.2.298 → 3.2.299

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.
package/index.js CHANGED
@@ -7,8 +7,8 @@ var async = require("async");
7
7
 
8
8
  var util = require("./util/util");
9
9
 
10
- var http = require('http');
11
- var https = require('https');
10
+ var http = require("http");
11
+ var https = require("https");
12
12
 
13
13
  var cluster = require("cluster");
14
14
 
@@ -462,7 +462,13 @@ exports = module.exports = function()
462
462
  }
463
463
 
464
464
  // get the cloud cms application
465
+ console.log("RETRIEVE APP CONFIG START");
466
+
465
467
  retrieveConfigApplication(req, configuration, function(err, application) {
468
+ console.log("RETRIEVE APP CONFIG DONE: " + err);
469
+ if (err) {
470
+ console.log("RET ERR: " + JSON.stringify(err, null, 2));
471
+ }
466
472
 
467
473
  // find any settings for the given user or the project (if provided)
468
474
  var q = {
@@ -522,6 +528,9 @@ exports = module.exports = function()
522
528
  }
523
529
 
524
530
  var uiConfigIds = [];
531
+
532
+ console.log("APP ID: " + application._doc);
533
+ console.log("SETTINGS QUERY: " + JSON.stringify(q, null, 2));
525
534
 
526
535
  // find the settings for the given user id
527
536
  var settingsList = [];
@@ -533,6 +542,8 @@ exports = module.exports = function()
533
542
  settingsList.push(this);
534
543
  }
535
544
  }).then(function() {
545
+
546
+ console.log("SETTINGS DONE");
536
547
 
537
548
  if (projectId)
538
549
  {
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "cloudcms-server",
8
8
  "description": "Cloud CMS Application Server Module",
9
- "version": "3.2.298",
9
+ "version": "3.2.299",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git://github.com/gitana/cloudcms-server.git"
@@ -76,9 +76,9 @@ var createProxyHandler = function(proxyTarget, pathPrefix)
76
76
  {
77
77
  const { proxy, close } = require('fast-proxy')({
78
78
  base: proxyTarget,
79
- cacheURLs: 0,
80
- //http2: true,
81
- //undici: true
79
+ cacheURLs: 500,
80
+ undici: true
81
+ //http2: true
82
82
  });
83
83
 
84
84
  var proxyOptions = {};