@digipair/skill-web 0.126.0 → 0.127.1
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/dist/index.cjs.js
CHANGED
|
@@ -139,7 +139,7 @@ let WebService = class WebService {
|
|
|
139
139
|
return JSON.stringify(await engine.executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context), `${context.request.body.params.path}.execute`));
|
|
140
140
|
}
|
|
141
141
|
const path = context.protected.req.path.replace(/\/$/g, '');
|
|
142
|
-
const baseUrl = (context.
|
|
142
|
+
const baseUrl = (context.protected.req.headers['x-forwarded-proto'] ?? context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
|
|
143
143
|
await engine.executePinsList(factoryInitialize, context, `${context.__PATH__}.factoryInitialize`);
|
|
144
144
|
const html = `
|
|
145
145
|
<!DOCTYPE html>
|
package/dist/index.esm.js
CHANGED
|
@@ -55648,7 +55648,7 @@ let WebService = class WebService {
|
|
|
55648
55648
|
return JSON.stringify(await executePinsList(pinsSettingsList, this.mergeConttext(context.request.body.context, context), `${context.request.body.params.path}.execute`));
|
|
55649
55649
|
}
|
|
55650
55650
|
const path = context.protected.req.path.replace(/\/$/g, '');
|
|
55651
|
-
const baseUrl = (context.
|
|
55651
|
+
const baseUrl = (context.protected.req.headers['x-forwarded-proto'] ?? context.protected.req.protocol) + '://' + context.protected.req.headers.host + (context.request.params.length <= 0 || context.request.params[0] === '' ? path : path.substring(0, path.length - context.request.params.join('/').length - 1)) + '/__digipair_www__';
|
|
55652
55652
|
await executePinsList(factoryInitialize, context, `${context.__PATH__}.factoryInitialize`);
|
|
55653
55653
|
const html = `
|
|
55654
55654
|
<!DOCTYPE html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skill-web.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4C,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"skill-web.d.ts","sourceRoot":"","sources":["../../../src/lib/skill-web.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAA4C,MAAM,kBAAkB,CAAC;AAuS1F,eAAO,MAAM,IAAI,GAAI,QAAQ,GAAG,EAAE,kBAAkB,YAAY,EAAE,EAAE,SAAS,GAAG,iBACtB,CAAC"}
|