lupine.api 1.1.53 → 1.1.54

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lupine.api",
3
- "version": "1.1.53",
3
+ "version": "1.1.54",
4
4
  "license": "MIT",
5
5
  "author": "uuware.com",
6
6
  "homepage": "https://github.com/uuware/lupine.js",
@@ -421,6 +421,11 @@ export class AdminRelease implements IApiBase {
421
421
  ApiHelper.sendJson(req, res, result);
422
422
  return true;
423
423
  }
424
+ const result2 = await this.updateSendFile(data, 'app-loader');
425
+ if (!result2 || result2.status !== 'ok') {
426
+ ApiHelper.sendJson(req, res, result2);
427
+ return true;
428
+ }
424
429
  }
425
430
 
426
431
  const response = {
@@ -442,6 +447,8 @@ export class AdminRelease implements IApiBase {
442
447
  let sendFile = '';
443
448
  if (chkOption === 'server') {
444
449
  sendFile = path.join(appData.apiPath, '..', 'server', 'index.js');
450
+ } else if (chkOption === 'app-loader') {
451
+ sendFile = path.join(appData.apiPath, '..', 'server', 'app-loader.js');
445
452
  } else if (chkOption === 'api') {
446
453
  sendFile = path.join(appData.apiPath, '..', fromList + '_api', 'index.js');
447
454
  } else if (chkOption === 'web') {