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