Merged in feature/america (pull request #683)
Additional whitelabel changes. Approved-by: Patrick Fic
This commit is contained in:
@@ -28,6 +28,17 @@ switch (this.location.hostname) {
|
|||||||
// measurementId: "${config.measurementId}",
|
// measurementId: "${config.measurementId}",
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
|
case "romeonline.io":
|
||||||
|
firebaseConfig = {
|
||||||
|
apiKey: "AIzaSyAuLQR9SV5LsVxjU8wh9hvFLdhcAHU6cxE",
|
||||||
|
authDomain: "rome-prod-1.firebaseapp.com",
|
||||||
|
projectId: "rome-prod-1",
|
||||||
|
storageBucket: "rome-prod-1.appspot.com",
|
||||||
|
messagingSenderId: "147786367145",
|
||||||
|
appId: "1:147786367145:web:9d4cba68071c3f29a8a9b8",
|
||||||
|
measurementId: "G-G8Z9DRHTZS",
|
||||||
|
};
|
||||||
|
break;
|
||||||
case "imex.online":
|
case "imex.online":
|
||||||
default:
|
default:
|
||||||
firebaseConfig = {
|
firebaseConfig = {
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ export function UserRequestResetPw({
|
|||||||
return (
|
return (
|
||||||
<div className="login-container">
|
<div className="login-container">
|
||||||
<div className="login-logo-container">
|
<div className="login-logo-container">
|
||||||
<img src={ImEXOnlineLogo} height="100" width="100" alt="ImEX Online" />
|
<img src={ImEXOnlineLogo} height="100" width="100" alt="Rome Online" />
|
||||||
<Typography.Title>{t("titles.app")}</Typography.Title>
|
<Typography.Title>{t("titles.app")}</Typography.Title>
|
||||||
</div>
|
</div>
|
||||||
<Typography.Title level={3}>{t("titles.resetpassword")}</Typography.Title>
|
<Typography.Title level={3}>{t("titles.resetpassword")}</Typography.Title>
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ export default function AboutPage() {
|
|||||||
<div style={{ textAlign: "center", margin: "1rem 0rem" }}>
|
<div style={{ textAlign: "center", margin: "1rem 0rem" }}>
|
||||||
<Typography.Title
|
<Typography.Title
|
||||||
level={2}
|
level={2}
|
||||||
>{`ImEX Online V.${process.env.NODE_ENV}-${process.env.REACT_APP_GIT_SHA}`}</Typography.Title>
|
>{`Rome Online V.${process.env.NODE_ENV}-${process.env.REACT_APP_GIT_SHA}`}</Typography.Title>
|
||||||
<Typography.Title level={4}>
|
<Typography.Title level={4}>
|
||||||
© 2019 - {new Date().getFullYear()} ImEX Systems Inc. used under
|
© 2019 - {new Date().getFullYear()} ImEX Systems Inc. used under
|
||||||
license to Rome Technologies Inc.
|
license to Rome Technologies
|
||||||
</Typography.Title>
|
</Typography.Title>
|
||||||
<Typography.Title level={2}>Third Party Notices</Typography.Title>
|
<Typography.Title level={2}>Third Party Notices</Typography.Title>
|
||||||
<a href="/3rdparty-app.txt">
|
<a href="/3rdparty-app.txt">
|
||||||
|
|||||||
@@ -205,7 +205,7 @@ export function* signInSuccessSaga({ payload }) {
|
|||||||
[payload.displayName || payload.email],
|
[payload.displayName || payload.email],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
window.$crisp.push(["set", "session:segments", [["user"]]]);
|
window.$crisp.push(["set", "session:segments", [["user", "rome"]]]);
|
||||||
|
|
||||||
Sentry.setUser({
|
Sentry.setUser({
|
||||||
email: payload.email,
|
email: payload.email,
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import i18n from "i18next";
|
|||||||
//import { store } from "../redux/store";
|
//import { store } from "../redux/store";
|
||||||
export const EmailSettings = {
|
export const EmailSettings = {
|
||||||
fromNameDefault: "Rome Online",
|
fromNameDefault: "Rome Online",
|
||||||
fromAddress: "noreply@rome.online",
|
fromAddress: "noreply@romeonline.io",
|
||||||
};
|
};
|
||||||
|
|
||||||
export const TemplateList = (type, context) => {
|
export const TemplateList = (type, context) => {
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ const io = new Server(server, {
|
|||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"https://imex.online",
|
"https://imex.online",
|
||||||
"https://www.imex.online",
|
"https://www.imex.online",
|
||||||
|
"https://romeonline.io",
|
||||||
|
"https://www.romeonline.io",
|
||||||
],
|
],
|
||||||
methods: ["GET", "POST"],
|
methods: ["GET", "POST"],
|
||||||
credentials: true,
|
credentials: true,
|
||||||
|
|||||||
@@ -656,7 +656,7 @@ async function InsertAccountPostingData(socket) {
|
|||||||
.toISOString(), //"0001-01-01T00:00:00.0000000Z",
|
.toISOString(), //"0001-01-01T00:00:00.0000000Z",
|
||||||
Description: socket.txEnvelope.story,
|
Description: socket.txEnvelope.story,
|
||||||
//AdditionalInfo: "String",
|
//AdditionalInfo: "String",
|
||||||
Source: "ImEX Online",
|
Source: "Rome Online",
|
||||||
Lines: wips,
|
Lines: wips,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ exports.receive = async (req, res) => {
|
|||||||
const fcmresp = await admin.messaging().send({
|
const fcmresp = await admin.messaging().send({
|
||||||
topic: `${message.conversation.bodyshop.imexshopid}-messaging`,
|
topic: `${message.conversation.bodyshop.imexshopid}-messaging`,
|
||||||
notification: {
|
notification: {
|
||||||
title: `ImEX Online Message - ${data.phone_num}`,
|
title: `Rome Online Message - ${data.phone_num}`,
|
||||||
body: message.image_path ? `Image ${message.text}` : message.text,
|
body: message.image_path ? `Image ${message.text}` : message.text,
|
||||||
//imageUrl: "https://thinkimex.com/img/io-fcm.png",
|
//imageUrl: "https://thinkimex.com/img/io-fcm.png",
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user