@docupace/pipeline 1.0.17 → 1.0.18

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": "@docupace/pipeline",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -253,9 +253,10 @@ async function templateAuth0(siteUrl, coreApiContext, env, filePaths, deployUI,
253
253
 
254
254
  console.log('TWILIO configuration updated...');
255
255
 
256
+ const tmpSiteUrl = siteUrl.replace(/^https?:\/\//, '');
256
257
  // Database configuration
257
258
  await replaceInFile(filePaths.databaseLoginJs, [
258
- ['${docupaceHost}', siteUrl],
259
+ ['${docupaceHost}', tmpSiteUrl],
259
260
  ['${docupaceContext}', coreApiContext],
260
261
  ]);
261
262