@docupace/pipeline 1.0.1-2.ervins.13 → 1.0.1-2.ervins.14
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 +1 -1
- package/src/auth0/configure.js +3 -0
package/package.json
CHANGED
package/src/auth0/configure.js
CHANGED
|
@@ -279,6 +279,8 @@ async function getAuth0AuthToken(auth0Domain, clientId, clientSecret) {
|
|
|
279
279
|
async function configureUI(siteHost, coreURL, docupaceHost, site, env, useNewDomain, auth0Domain, auth0ClientId, auth0ClientSecret, auth0Token, vaultSiteSecretsPath, imageTag, repoPath) {
|
|
280
280
|
console.log(`Configuring UI for site: ${site} Host: ${siteHost} in env: ${env}`);
|
|
281
281
|
siteHost = siteHost.replace('https://', '');
|
|
282
|
+
coreURL = coreURL.replace('https://', '');
|
|
283
|
+
|
|
282
284
|
|
|
283
285
|
try {
|
|
284
286
|
const auth0Response = await axios.get(`https://${auth0Domain}/api/v2/clients`, {
|
|
@@ -407,6 +409,7 @@ externalConnectService:
|
|
|
407
409
|
|
|
408
410
|
async function configureGraphQLServer(siteHost, coreURL, docupaceHost, site, env, auth0Domain, auth0ClientId, auth0ClientSecret, auth0Token, vaultSiteSecretsPath, imageTag, standardConfigRemoteBranch, repoPath, commonSecrets) {
|
|
409
411
|
siteHost = siteHost.replace('https://', '');
|
|
412
|
+
coreURL = coreURL.replace('https://', '');
|
|
410
413
|
console.log(`Configuring GraphQL Server for site: ${site} Host: ${siteHost} in env: ${env}`);
|
|
411
414
|
|
|
412
415
|
try {
|