diff --git a/apps/OpenSign/src/pages/PdfRequestFiles.js b/apps/OpenSign/src/pages/PdfRequestFiles.js index eaf97c28d..2b001da8e 100644 --- a/apps/OpenSign/src/pages/PdfRequestFiles.js +++ b/apps/OpenSign/src/pages/PdfRequestFiles.js @@ -653,7 +653,7 @@ function PdfRequestFiles(props) { `Parse/${localStorage.getItem("parseAppId")}/currentUser` ); let currentUser = JSON.parse(localuser); - //if emailVerified data is not present in local user details then fetch again in _user class + //if emailVerified data is not present in local user details then fetch again in _User class if (!currentUser?.emailVerified) { const userQuery = new Parse.Query(Parse.User); const getUser = await userQuery.get(currentUser?.objectId, { @@ -1685,7 +1685,7 @@ function PdfRequestFiles(props) { {/* this modal is used to show decline alert */} { setAlertMsg({ type: "danger", message: - "The send-in-order for this template is enabled, and the public role must be at the top." + "Since this template has send-in-order enabled, the public role must be positioned at the top." }); setTimeout(() => setIsAlert(false), 5000); } @@ -983,7 +983,7 @@ const ReportTable = (props) => { setAlertMsg({ type: "danger", message: - "Please attach signers to all remaining users except the public role user." + "Please attach signers to all roles except for the public role user." }); setTimeout(() => setIsAlert(false), 5000); } diff --git a/apps/OpenSign/src/script/PublicTemplate.js b/apps/OpenSign/src/script/PublicTemplate.js index 42621f36f..3ef08df4c 100644 --- a/apps/OpenSign/src/script/PublicTemplate.js +++ b/apps/OpenSign/src/script/PublicTemplate.js @@ -18,12 +18,10 @@ const PublicScriptFileWrapper = ({ initialProps }) => { return ; }; -const appId = process.env.REACT_APP_APPID - ? process.env.REACT_APP_APPID - : "opensign"; -const serverUrl = process.env.REACT_APP_SERVERURL - ? process.env.REACT_APP_SERVERURL - : "https://staging-app.opensignlabs.com/api/app"; +const appId = "legadranaxn"; +// "opensign"; +const serverUrl = "https://app.opensignlabs.com/api/app"; +// "https://staging-app.opensignlabs.com/api/app"; localStorage.setItem("baseUrl", `${serverUrl}/`); localStorage.setItem("parseAppId", appId); Parse.initialize(appId); @@ -40,7 +38,8 @@ document.head.appendChild(link); //add the Tailwind CSS file const tailwindCssLink = document.createElement("link"); tailwindCssLink.href = - "https://staging-app.opensignlabs.com/static/js/public-template.bundle.css"; // css bundle file + "https://app.opensignlabs.com/static/js/public-template.bundle.css"; // css bundle file +// "https://staging-app.opensignlabs.com/static/js/public-template.bundle.css"; // css bundle file tailwindCssLink.rel = "stylesheet"; document.head.appendChild(tailwindCssLink); // Create a root and render the wrapper component with initial props diff --git a/apps/OpenSignServer/cloud/parsefunction/PublicUserLinkContactToDoc.js b/apps/OpenSignServer/cloud/parsefunction/PublicUserLinkContactToDoc.js index 29e76c93e..f31a8aca5 100644 --- a/apps/OpenSignServer/cloud/parsefunction/PublicUserLinkContactToDoc.js +++ b/apps/OpenSignServer/cloud/parsefunction/PublicUserLinkContactToDoc.js @@ -138,7 +138,7 @@ const sendMailToAllSigners = async docId => { }); const imgPng = 'https://qikinnovation.ams3.digitaloceanspaces.com/logo.png'; const objectId = signerMail[i].objectId; - const hostPublicUrl = 'https://staging-app.opensignlabs.com'; + const hostPublicUrl = 'https://app.opensignlabs.com'; //encode this url value `${Doc.objectId}/${signerMail[i].Email}/${objectId}` to base64 using `btoa` function const encodeBase64 = btoa(`${Doc?.objectId}/${signerMail[i].Email}/${objectId}`);