isite 2021.11.28 → 2021.11.29

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.
@@ -142,7 +142,7 @@
142
142
  --modal-background: var(--theme-color);
143
143
  --modal-content-background: #ffffff;
144
144
  --modal-content-border: 3px solid var(--theme-color);
145
- --modal-color: #fff;
145
+ --modal-color: #000;
146
146
  --modal-animation-name: animateleft;
147
147
  --modal-animation-duration: 0.4s;
148
148
  --modal-header-color: #fff;
package/lib/mongodb.js CHANGED
@@ -110,6 +110,7 @@ module.exports = function init(____0) {
110
110
 
111
111
  let db_name = ____0.options.mongodb.prefix.db + name;
112
112
  let db_url = _mongo.connection;
113
+ ____0.log('\n ( Connecting DB : ' + db_url + ' ) \n');
113
114
  _mongo.client.connect(
114
115
  db_url,
115
116
  {
@@ -129,10 +130,11 @@ module.exports = function init(____0) {
129
130
  client: client,
130
131
  connected: !0,
131
132
  });
132
-
133
+ ____0.log('\n ( Connected DB : ' + db_name + ' ) \n');
133
134
  callback(err, db);
134
135
  } else {
135
136
  err.message += ' , ' + db_url;
137
+ ____0.log('\n ( Connected DB Error: ' + err.message + ' ) \n');
136
138
  callback(err, null);
137
139
  }
138
140
  _mongo.connectDBBusy = !1;
@@ -307,11 +309,11 @@ module.exports = function init(____0) {
307
309
  docs: obj.docs,
308
310
  });
309
311
  } else {
310
- callback(err);
312
+ console.log(err.message);
311
313
  }
312
314
  });
313
315
  } else {
314
- callback(err);
316
+ console.log(err.message);
315
317
  }
316
318
  });
317
319
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2021.11.28",
3
+ "version": "2021.11.29",
4
4
  "description": "Create Enterprise Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {