Skip to content

Commit

Permalink
Merge pull request #462 from OpenSignLabs/remove_mfcra
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-opensignlabs authored Mar 7, 2024
2 parents 3ad1c46 + 67b3752 commit 376d429
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ GENERATE_SOURCEMAP=false
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
REACT_APP_SERVERURL=https://app.opensignlabs.com/api/app
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
REACT_APP_APPID=aDsADsqweqwe
REACT_APP_APPID=opensign
# Google tag manager container id for configuring GTM on all pages of the app
REACT_APP_GTM=GTM-123N7LD

# Backend ExpressJS config ****************************************************************************************************************************************************************************************
# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App.
APP_ID=aDsADsqweqwe
APP_ID=opensign
# Name of the app. It will be visible in the verification emails sent out.
appName=open_sign_server
# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database.
Expand Down
2 changes: 1 addition & 1 deletion .env.frontend_dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ GENERATE_SOURCEMAP=false
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
REACT_APP_SERVERURL=https://staging-app.opensignlabs.com/api/app
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
REACT_APP_APPID=opensignstgn
REACT_APP_APPID=opensign
4 changes: 2 additions & 2 deletions .env.local_dev
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ GENERATE_SOURCEMAP=false
# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead)
REACT_APP_SERVERURL=http://localhost:8080/app
# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API.
REACT_APP_APPID=opensignstgn
REACT_APP_APPID=opensign


# Backend ExpressJS config ****************************************************************************************************************************************************************************************
# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App.
APP_ID=opensignstgn
APP_ID=opensign
# Name of the app. It will be visible in the verification emails sent out.
appName=open_sign_server
# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database.
Expand Down
2 changes: 1 addition & 1 deletion apps/OpenSign/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function App() {
/>
</Route>
<Route
path="/loadmf/signmicroapp/login"
path="/loadmf/signmicroapp/login/:id/:userMail/:contactBookId/:serverUrl"
element={<GuestLogin />}
/>
<Route
Expand Down
3 changes: 1 addition & 2 deletions apps/OpenSign/src/constant/Utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ export async function getBase64FromUrl(url) {
reader.readAsDataURL(blob);
reader.onloadend = function () {
const pdfBase = this.result;
const removeBase64Prefix = "data:application/octet-stream;base64,";
const suffixbase64 = pdfBase.replace(removeBase64Prefix, "");
const suffixbase64 = pdfBase.split(",").pop();
resolve(suffixbase64);
};
});
Expand Down
2 changes: 1 addition & 1 deletion apps/OpenSign/src/pages/GuestLogin.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ function GuestLogin() {
};

return (
<div style={{ padding: "2rem" }}>
<div style={{ padding: "2rem", background: "white" }}>
{isLoading ? (
<div
style={{
Expand Down
2 changes: 1 addition & 1 deletion apps/OpenSign/src/primitives/PdfDeclineModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function CustomModal({
return (
show && (
<div
className="bg-black bg-opacity-[75%] absolute z-[50] flex flex-col items-center justify-center"
className="bg-black bg-opacity-[75%] absolute z-[999] flex flex-col items-center justify-center"
style={{
width: containerWH && containerWH.width,
height: isMobile ? "100%" : containerWH && containerWH.height
Expand Down

0 comments on commit 376d429

Please sign in to comment.